Skip to content

Commit

Permalink
Apply the same fix to help completion too.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaq authored and ridiculousfish committed Dec 18, 2012
1 parent 0479060 commit f9697c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/completions/help.fish
Expand Up @@ -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
Expand Down

0 comments on commit f9697c8

Please sign in to comment.