diff options
author | axel <axel@liljencrantz.se> | 2006-07-13 03:46:55 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-07-13 03:46:55 +1000 |
commit | 4a87c9895dd35426d872466b8313bc45e7e2867e (patch) | |
tree | 8de48c44ce93926f9ba1281ba680f8d4f74e89a7 /share/completions/functions.fish | |
parent | 036cc4e0faccc9b03e2c73b34dd4ad6a0223837b (diff) |
Add -q/--query switch to the functions builtin. Works just like the same switch to set does. Useful for checking for the existance of functions in a script
darcs-hash:20060712174655-ac50b-14a98a15751bb5ddddf4ffb41521b616bef5e40c.gz
Diffstat (limited to 'share/completions/functions.fish')
-rw-r--r-- | share/completions/functions.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/functions.fish b/share/completions/functions.fish index 8f544202..e614ed39 100644 --- a/share/completions/functions.fish +++ b/share/completions/functions.fish @@ -3,4 +3,4 @@ complete -c functions -xa "(functions -na)" -d (N_ "Function") complete -c functions -s a -l all -d (N_ "Show hidden functions") complete -c functions -s h -l help -d (N_ "Display help and exit") complete -c functions -s d -l description -d (N_ "Set function description") -x - +complete -c functions -s q -l query -d (N_ "Test if function is defined") |