aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-01-30 02:26:24 +1000
committerGravatar axel <axel@liljencrantz.se>2007-01-30 02:26:24 +1000
commitba932b659022b7cc2d746b4dc4536e111dd23ec0 (patch)
treef1770a65e5040a0b68a4694a550cf8aceb1c93d7 /doc_src
parentc02e2b13207448ee7504f361e3a1abf4fa946c82 (diff)
Add support for -s switch to read builtin, enables shell syntax highlighting in the read builtin
darcs-hash:20070129162624-ac50b-dff9d9ebf16ce3247b83d917efbffd4942cda83f.gz
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/read.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc_src/read.txt b/doc_src/read.txt
index 13e4d658..69566e19 100644
--- a/doc_src/read.txt
+++ b/doc_src/read.txt
@@ -13,6 +13,7 @@ input and store the result in one or more environment variables.
- <tt>-g</tt> or <tt>--global</tt> specifies that the variables will be made global.
- <tt>-m NAME</tt> or <tt>--mode-name=NAME</tt> specifies that the name NAME should be used to save/load the hiustory file. If NAME is fish, the regular fish history will be available.
- <tt>-p PROMPT_CMD</tt> or <tt>--prompt=PROMPT_CMD</tt> specifies that the output of the shell command PROMPT_CMD should be used as the prompt for the interactive mode prompt. The default prompt command is <tt>set_color green; echo read; set_color normal; echo "> "</tt>.
+- <code>-s</code> or <code>--shell</code> Use syntax highlighting, tab completions and command termination suitable for entering shellscript code
- <code>-u</code> or <code>--unexport</code> causes the specified environment not to be exported to child processes
- <code>-U</code> or <code>--universal</code> causes the specified environment variable to be made universal. If this option is supplied, the variable will be shared between all the current users fish instances on the current computer, and will be preserved across restarts of the shell.
- <code>-x</code> or <code>--export</code> causes the specified environment variable to be exported to child processes