From 73370f5f398b03aa6e01f7dfe64f4f54fe7c3b10 Mon Sep 17 00:00:00 2001 From: axel Date: Fri, 10 Mar 2006 23:43:50 +1000 Subject: [PATCH] Avoid extended regexps in grep, they are not portable darcs-hash:20060310134350-ac50b-7138e53ed815986ccb78e909f50c9939382a1e89.gz --- share/fish | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/share/fish b/share/fish index bac65927e..f3b1a2738 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