From 633e2f498fe73c89a3bcd83452bdb4ff022ad8e5 Mon Sep 17 00:00:00 2001 From: axel Date: Wed, 10 May 2006 21:56:41 +1000 Subject: [PATCH] Escape $ character in apropos completions - Thanks to Peter Moulder for pointing this one out darcs-hash:20060510115641-ac50b-51db7d181d63119c6edc223b06f8b8b63e8149d6.gz --- share/completions/apropos.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/apropos.fish b/share/completions/apropos.fish index 7bd398d67..67e8f84a6 100644 --- a/share/completions/apropos.fish +++ b/share/completions/apropos.fish @@ -2,7 +2,7 @@ function __fish_complete_apropos if test (commandline -ct) set str (commandline -ct) - apropos $str|sed -e "s/^\(.*$str\([^ ]*\).*\)$/$str\2"\t"\1/" + apropos $str|sed -e "s/^\(.*$str\([^ ]*\).*\)\$/$str\2"\t"\1/" end end