aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-03-10 23:43:50 +1000
committerGravatar axel <axel@liljencrantz.se>2006-03-10 23:43:50 +1000
commit73370f5f398b03aa6e01f7dfe64f4f54fe7c3b10 (patch)
treebfa35688486da1305d65048fe33a16045e1e58a7 /share
parent883ce6e44064eed0ecf85efcc11e938445d35221 (diff)
Avoid extended regexps in grep, they are not portable
darcs-hash:20060310134350-ac50b-7138e53ed815986ccb78e909f50c9939382a1e89.gz
Diffstat (limited to 'share')
-rw-r--r--share/fish5
1 files changed, 2 insertions, 3 deletions
diff --git a/share/fish b/share/fish
index bac65927..f3b1a273 100644
--- a/share/fish
+++ b/share/fish
@@ -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