mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Avoid extended regexps in grep, they are not portable
darcs-hash:20060310134350-ac50b-7138e53ed815986ccb78e909f50c9939382a1e89.gz
This commit is contained in:
parent
883ce6e440
commit
73370f5f39
1 changed files with 2 additions and 3 deletions
|
@ -54,9 +54,8 @@ end
|
||||||
# Completions for the shell and it's builtin commands and functions
|
# Completions for the shell and it's builtin commands and functions
|
||||||
#
|
#
|
||||||
|
|
||||||
set -l __fish_help_desc (_ "Display help and exit")
|
for i in (builtin -n|grep -v '\(while\|for\|if\|function\|switch\)' )
|
||||||
for i in (builtin -n|grep -vE '(while|for|if|function|switch)' )
|
complete -c $i -s h -l help -d "Display help and exit"
|
||||||
complete -c $i -s h -l help -d $__fish_help_desc
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue