mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +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
|
||||
#
|
||||
|
||||
set -l __fish_help_desc (_ "Display help and exit")
|
||||
for i in (builtin -n|grep -vE '(while|for|if|function|switch)' )
|
||||
complete -c $i -s h -l help -d $__fish_help_desc
|
||||
for i in (builtin -n|grep -v '\(while\|for\|if\|function\|switch\)' )
|
||||
complete -c $i -s h -l help -d "Display help and exit"
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue