mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 14:01:20 -03:00
Apply the same fix to help completion too.
This commit is contained in:
committed by
ridiculousfish
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
|
||||||
|
|||||||
Reference in New Issue
Block a user