aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/set.txt
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-09-23 06:16:52 +1000
committerGravatar axel <axel@liljencrantz.se>2005-09-23 06:16:52 +1000
commitf971e02256f903fa58fbc288629009d47fc89712 (patch)
treec64b639776ab294a7f17a374ddb3ad1743939a8f /doc_src/set.txt
parentfcdaed44d73b0f151f53a304501c987b7a649446 (diff)
Exportable universal variables
darcs-hash:20050922201652-ac50b-f70e7607b4ace24da4020f2d432718dc335e5bdd.gz
Diffstat (limited to 'doc_src/set.txt')
-rw-r--r--doc_src/set.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc_src/set.txt b/doc_src/set.txt
index c1d59ba8..c99af1c8 100644
--- a/doc_src/set.txt
+++ b/doc_src/set.txt
@@ -7,12 +7,13 @@ The <tt>set</tt> builtin causes fish to assign the variable <tt>VARIABLE_NAME</t
\subsection set-description Description
- <tt>-e</tt> or <tt>--erase</tt> causes the specified environment variables to be erased
-- <tt>-U</tt> or <tt>--universal</tt> 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.
- <tt>-g</tt> or <tt>--global</tt> causes the specified environment variable to be made global. If this option is not supplied, the specified variable will dissapear when the current block ends
- <tt>-l</tt> or <tt>--local</tt> forces the specified environment variable to be made local to the current block, even if the variable already exists and is non-local
- <tt>-n</tt> or <tt>--names</tt> List only the names of all defined variables
-- <tt>-x</tt> or <tt>--export</tt> causes the specified environment variable to be exported to child processes
+- <tt>-q</tt> or <tt>--query</tt> test if the specified variable names are defined. Does not output anything, but the builtins exit status is the number of variables specified that where not defined.
- <tt>-u</tt> or <tt>--unexport</tt> causes the specified environment not to be exported to child processes
+- <tt>-U</tt> or <tt>--universal</tt> 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.
+- <tt>-x</tt> or <tt>--export</tt> causes the specified environment variable to be exported to child processes
If set is called with no arguments, the names and values of all
environment variables are printed.