mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Apply the same fix to help completion too.
This commit is contained in:
parent
0479060858
commit
f9697c8e36
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
if test -f "$__fish_help_dir/commands.html"
|
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"
|
complete -c help -x -a $i --description "Help for the specified command"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user