aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Cheer Xiao <xiaqqaix@gmail.com>2012-12-17 23:01:34 +0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-12-17 20:08:45 -0800
commitf9697c8e361a0883bb5a97276940435714ad623a (patch)
tree85bc7e3859fce8a07edf1f4c587c6216c33c2579
parent047906085855be325373b1914c056fedf0630424 (diff)
Apply the same fix to help completion too.
-rw-r--r--share/completions/help.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/help.fish b/share/completions/help.fish
index abf88f3c..d96745ab 100644
--- a/share/completions/help.fish
+++ b/share/completions/help.fish
@@ -3,7 +3,7 @@
#
if test -f "$__fish_help_dir/commands.html"
- for i in case (sed -n < $__fish_help_dir/commands.html -e "s/.*<h2><a class=\"anchor\" name=\"\([^\"]*\)\">.*/\1/p")
+ for i in case (sed -n < $__fish_help_dir/commands.html -e "s/.*<h[12]><a class=\"anchor\" name=\"\([^\"]*\)\">.*/\1/p")
complete -c help -x -a $i --description "Help for the specified command"
end
end