mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 10:43:32 +08:00
parent
52ae5f885e
commit
8144725739
|
@ -73,10 +73,12 @@ if test -d /tmp
|
|||
end
|
||||
</pre>
|
||||
|
||||
If the variable \c MANPATH is defined and not empty, print the contents:
|
||||
If the variable \c MANPATH is defined and not empty, print the contents.
|
||||
(If \c MANPATH is not defined, then it will expand to zero arguments, unless
|
||||
quoted.)
|
||||
|
||||
<pre>
|
||||
if test -n $MANPATH
|
||||
if test -n "$MANPATH"
|
||||
echo $MANPATH
|
||||
end
|
||||
</pre>
|
||||
|
|
Loading…
Reference in New Issue
Block a user