diff options
author | axel <axel@liljencrantz.se> | 2006-05-10 21:56:41 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-05-10 21:56:41 +1000 |
commit | 633e2f498fe73c89a3bcd83452bdb4ff022ad8e5 (patch) | |
tree | 53ac2e110e9ade7605bca7c65a8c285fe152c85a /share/completions/apropos.fish | |
parent | 4932538c7461bf9d18cb8bf5dab21ac603dad107 (diff) |
Escape $ character in apropos completions - Thanks to Peter Moulder for pointing this one out
darcs-hash:20060510115641-ac50b-51db7d181d63119c6edc223b06f8b8b63e8149d6.gz
Diffstat (limited to 'share/completions/apropos.fish')
-rw-r--r-- | share/completions/apropos.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/apropos.fish b/share/completions/apropos.fish index 7bd398d6..67e8f84a 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 |