aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/read.txt
diff options
context:
space:
mode:
authorGravatar maxfl <gmaxfl@gmail.com>2012-07-07 10:17:24 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-07-07 23:34:16 -0700
commit76e1cda495d6e88cea383d387375588cdf9297bc (patch)
treed7763e521185691ff8850a5b3ed604391e908cc2 /doc_src/read.txt
parentc1a23bf4502b9812f3d2d5cfd3760b33b0ce44c7 (diff)
Set single-line default prompt
Fish now doesn't join the fish_prompt output. This breaks the default fish_prompt. Make default fish_prompt single-line. Fixes #203. Add -l flag to 'read' documentation. Remove ambiguous '-x' description. Fixes #157.
Diffstat (limited to 'doc_src/read.txt')
-rw-r--r--doc_src/read.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc_src/read.txt b/doc_src/read.txt
index b85b5fd8..d69d715b 100644
--- a/doc_src/read.txt
+++ b/doc_src/read.txt
@@ -9,8 +9,8 @@ The <tt>read</tt> builtin causes fish to read one line from standard
input and store the result in one or more environment variables.
- <tt>-c CMD</tt> or <tt>--command=CMD</tt> specifies that the initial string in the interactive mode command buffer should be CMD.
-- <tt>-e</tt> or <tt>--export</tt> specifies that the variables will be exported to subshells.
- <tt>-g</tt> or <tt>--global</tt> specifies that the variables will be made global.
+- <tt>-l</tt> or <tt>--local</tt> specifies that the variables will be made local.
- <tt>-m NAME</tt> or <tt>--mode-name=NAME</tt> specifies that the name NAME should be used to save/load the history 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