mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Minor documentation updates
darcs-hash:20050920141105-ac50b-339e24a7cc79cbf80e1c1d8eb14f77c57ab6066c.gz
This commit is contained in:
parent
7ddecde543
commit
ea96e413f3
3 changed files with 16 additions and 4 deletions
|
@ -86,7 +86,7 @@ BUILTIN_DOC_SRC := doc_src/source.txt doc_src/and.txt \
|
|||
doc_src/functions.txt doc_src/if.txt doc_src/jobs.txt \
|
||||
doc_src/not.txt doc_src/or.txt doc_src/random.txt \
|
||||
doc_src/return.txt doc_src/read.txt doc_src/set.txt \
|
||||
doc_src/switch.txt doc_src/while.txt
|
||||
doc_src/status.txt doc_src/switch.txt doc_src/while.txt
|
||||
|
||||
#
|
||||
# Files generated by running doxygen on the files in $(BUILTIN_DOC_SRC)
|
||||
|
|
|
@ -869,7 +869,7 @@ g++, javac, java, gcj, lpr, doxygen, whois, find)
|
|||
- Inclusion guards for the init files to make them evaluate only once, even if the user has instelled fish both in /etc and in $HOME
|
||||
- Do not actually load most of the shellscript functions on startup. Only load a tiny wrapper that will load the real function when needed. This should shave of CPU-time spent on parsing 500-1000 lines of code and ~50 kB of memory on startup, and is pretty easy to implement.
|
||||
- Do not actually load/parse .fish_history, only mmap it and use some clever string handling. Should save ~150 kB of memory permanently, but is very hard to implement.
|
||||
- command specific wildcarding (use case * instead of case '*')
|
||||
- command specific wildcarding (use case * instead of case '*', etc.)
|
||||
- show the whole list of commands on using tab on an empty commandline
|
||||
- Automatically move cursor to the end of the current token before completing
|
||||
- Map variables. (export only the values. When expanding with no key specified, expand to all values.)
|
||||
|
@ -882,8 +882,7 @@ g++, javac, java, gcj, lpr, doxygen, whois, find)
|
|||
version of a POSIX command
|
||||
- Yanking weird characters from clipboard prints Unicode escapes
|
||||
- Prefix string in completion display is sometimes incorrect
|
||||
- redirecting input from fd:s other than 0 is broken
|
||||
- completing the string 'command ' hangs fish
|
||||
|
||||
|
||||
If you think you have found a bug not described here, please send a
|
||||
report to <a href="mailto:axel@liljencrantz.se"> axel@liljencrantz.se
|
||||
|
|
13
doc_src/status.txt
Normal file
13
doc_src/status.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
\section status status - Display fish runtime information
|
||||
|
||||
\subsection status-synopsis Synopsis
|
||||
<tt>status [OPTION]</tt>
|
||||
|
||||
\subsection status-description Description
|
||||
- <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>-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'
|
||||
|
||||
|
Loading…
Reference in a new issue