aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/set.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-09-01 01:44:00 +1000
committerGravatar axel <axel@liljencrantz.se>2006-09-01 01:44:00 +1000
commitb6e8171f013e9fe1ae48fd16d56fdda4d872b626 (patch)
tree5ce560765f7fabb7cc0c5bc6d4455970bc3332ba /share/completions/set.fish
parentb1439075c6c6691d7b595f949391e5f4d5947ad7 (diff)
Fix minor null pointer bug in the set builtin, fix bug causing the -n switch to be ignored, add missing completions for the -n switch to functions and set builtins, and touch up the documentation for said builtin a bit
darcs-hash:20060831154400-ac50b-dddbee79481e0e0a8da9fc025e8a15c466460a2f.gz
Diffstat (limited to 'share/completions/set.fish')
-rw-r--r--share/completions/set.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/completions/set.fish b/share/completions/set.fish
index 1510fbc7..6526c501 100644
--- a/share/completions/set.fish
+++ b/share/completions/set.fish
@@ -63,6 +63,8 @@ complete -c set -n '__fish_is_first_token' -s l -l local -d (N_ "Make variable s
complete -c set -n '__fish_is_first_token' -s U -l universal -d (N_ "Make variable scope universal, i.e. share variable with all the users fish processes on this computer")
complete -c set -n '__fish_is_first_token' -s q -l query -d (N_ "Test if variable is defined")
complete -c set -n '__fish_is_first_token' -s h -l help -d (N_ "Display help and exit")
+complete -c set -n '__fish_is_first_token' -s n -l names -d (N_ "List the names of the variables, but not their value")
+
# Complete using preexisting variable names
complete -c set -n '__fish_is_first_token' -x -a "(set|sed -e 's/ /'\t'Variable: /')"