mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Apply the same fix to help completion too.
This commit is contained in:
parent
0479060858
commit
f9697c8e36
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue