diff options
author | 2012-12-17 23:01:34 +0800 | |
---|---|---|
committer | 2012-12-17 20:08:45 -0800 | |
commit | f9697c8e361a0883bb5a97276940435714ad623a (patch) | |
tree | 85bc7e3859fce8a07edf1f4c587c6216c33c2579 | |
parent | 047906085855be325373b1914c056fedf0630424 (diff) |
Apply the same fix to help completion too.
-rw-r--r-- | share/completions/help.fish | 2 |
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 |