summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTodd Leonhardt <tleonhardt@gmail.com>2017-06-28 17:57:23 -0400
committerTodd Leonhardt <tleonhardt@gmail.com>2017-06-28 17:57:23 -0400
commit9efa8ee8d0e14d494eb954cd356d17832573deee (patch)
tree057bc6f5fbb101ce3b4d0c5b68edebd8735eaae1 /examples
parent38f509964141530a246effb87c0d3ed30e6918b1 (diff)
downloadcmd2-git-9efa8ee8d0e14d494eb954cd356d17832573deee.tar.gz
Completely removed use of self.default_file_name
Load and relative load now require a file path Edit will use a temporary file by default and delete it when done Save will use a temporary file by default and inform the user what it is Also changed the default value for autorun_on_edit to False so that it can safely be used as an actual file editor.
Diffstat (limited to 'examples')
-rw-r--r--examples/transcript_regex.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/transcript_regex.txt b/examples/transcript_regex.txt
index b8e0e654..61bd8838 100644
--- a/examples/transcript_regex.txt
+++ b/examples/transcript_regex.txt
@@ -2,12 +2,11 @@
# The regex for editor matches any word until first space. The one for colors is because no color on Windows.
(Cmd) set
abbrev: True
-autorun_on_edit: True
+autorun_on_edit: False
case_insensitive: True
colors: /(True|False)/
continuation_prompt: >
debug: False
-default_file_name: command.txt
echo: False
editor: /([^\s]+)/
feedback_to_output: False