aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/apropos.fish
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-03-02 21:28:08 +1000
committerGravatar axel <axel@liljencrantz.se>2006-03-02 21:28:08 +1000
commit3b6d8756eaad427743bf1830a37dbdc7dab9f2d0 (patch)
treee75b054ee1103845f5fb0dd3655b3f05f6f6e752 /share/completions/apropos.fish
parentd1bb30afae366aedde90d2ae3d34447a306dfa9d (diff)
Fix various uses of the GNUism of allowing backslash escapes in the second half of a sed regexp substitution
darcs-hash:20060302112808-ac50b-46cdf8e99f8f6e8cab0d54f32cf4e4d309775aa1.gz
Diffstat (limited to 'share/completions/apropos.fish')
-rw-r--r--share/completions/apropos.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/apropos.fish b/share/completions/apropos.fish
index f638fa6a..7bd398d6 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