aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_complete_man.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/functions/__fish_complete_man.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/functions/__fish_complete_man.fish')
-rw-r--r--share/functions/__fish_complete_man.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_complete_man.fish b/share/functions/__fish_complete_man.fish
index fa116956..7eb69f06 100644
--- a/share/functions/__fish_complete_man.fish
+++ b/share/functions/__fish_complete_man.fish
@@ -21,7 +21,7 @@ function __fish_complete_man
set section $section"[^)]*"
# Do the actual search
- apropos (commandline -ct) | grep \^(commandline -ct) | sed -n -e 's/\([^ ]*\).*(\('$section'\)) *- */\1\t\2: /p'
+ apropos (commandline -ct) | grep \^(commandline -ct) | sed -n -e 's/\([^ ]*\).*(\('$section'\)) *- */\1'\t'\2: /p'
end
end