Do not add --help completions for builtins at init time. These completions are already present in the commmand specific completions

darcs-hash:20061214131239-ac50b-3626c53c9c985bc3b786d5d6baff5e162a5e4951.gz
This commit is contained in:
axel 2006-12-14 23:12:39 +10:00
parent 9ff0e9cf72
commit 4d368dc06c

View file

@ -201,15 +201,6 @@ function __fish_print_users -d "Print a list of local users"
cat /etc/passwd | cut -d : -f 1
end
#
# Completions for the shell and it's builtin commands and functions
#
for i in (builtin -n|sgrep -E -v '(while|for|if|function|switch)' )
complete -c $i -s h -l help -d "Display help and exit"
end
#
# Completions for SysV startup scripts
#