mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Minor documentation updates
darcs-hash:20050920214220-ac50b-318f457febceb9445ee9dcf9ebd9e3b9f20fc25e.gz
This commit is contained in:
parent
7821fecac0
commit
8173c736cc
2 changed files with 5 additions and 7 deletions
|
@ -762,6 +762,9 @@ Detected errors include:
|
||||||
- Incorrect use of output redirects
|
- Incorrect use of output redirects
|
||||||
- Mismatched parenthesis
|
- Mismatched parenthesis
|
||||||
|
|
||||||
|
When the cursor is over a parenthesis or a quote, \c fish also
|
||||||
|
highlights it's matching quote or parenthesis.
|
||||||
|
|
||||||
To customize the syntax highlighting, you can set the environment
|
To customize the syntax highlighting, you can set the environment
|
||||||
variables \c fish_color_normal, \c fish_color_command, \c
|
variables \c fish_color_normal, \c fish_color_command, \c
|
||||||
fish_color_substitution, \c fish_color_redirection, \c fish_color_end,
|
fish_color_substitution, \c fish_color_redirection, \c fish_color_end,
|
||||||
|
@ -774,9 +777,6 @@ values are \c black, \c red, \c green, \c brown, \c yellow, \c blue,
|
||||||
the above variables to normal will mean that the text color will be
|
the above variables to normal will mean that the text color will be
|
||||||
set to the default color for the terminal.
|
set to the default color for the terminal.
|
||||||
|
|
||||||
When the cursor is over a parenthesis or a quote, \c fish also
|
|
||||||
highlights it's matching quote or parenthesis.
|
|
||||||
|
|
||||||
\subsection prompt Programmable prompt
|
\subsection prompt Programmable prompt
|
||||||
|
|
||||||
By defining the \c fish_prompt function, the user can choose a custom
|
By defining the \c fish_prompt function, the user can choose a custom
|
||||||
|
@ -1259,7 +1259,7 @@ mean different things? \c fish uses a builtin, <tt>set</tt> to set and
|
||||||
remove environment variables. This keeps things consistent. In fish,
|
remove environment variables. This keeps things consistent. In fish,
|
||||||
everything, including the switch/case statement is a command.
|
everything, including the switch/case statement is a command.
|
||||||
|
|
||||||
In \c fish, all block types are ended by the \c end command.
|
In \c fish, all block types end with the \c end command.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
/** \page license License
|
/** \page license License
|
||||||
|
|
|
@ -8,6 +8,4 @@
|
||||||
- <tt>-c</tt> or <tt>--is-command-substitution</tt> returns 0 if fish is currently executing a command usbstitution
|
- <tt>-c</tt> or <tt>--is-command-substitution</tt> returns 0 if fish is currently executing a command usbstitution
|
||||||
- <tt>-b</tt> or <tt>--is-block</tt> returns 0 if fish is currently executing a block of code
|
- <tt>-b</tt> or <tt>--is-block</tt> returns 0 if fish is currently executing a block of code
|
||||||
- <tt>-i</tt> or <tt>--is-interactive</tt> returns 0 if fish is interactive, i.e.connected to a keyboard
|
- <tt>-i</tt> or <tt>--is-interactive</tt> returns 0 if fish is interactive, i.e.connected to a keyboard
|
||||||
- <tt>-l</tt> or <tt>--is-login</tt> returns 0 if fish is a login shell, i.e. if the first parameter to fish was '-fish'
|
- <tt>-l</tt> or <tt>--is-login</tt> returns 0 if fish is a login shell, i.e. if fish should perform login tasks such as setting up the PATH.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue