diff options
author | axel <axel@liljencrantz.se> | 2006-06-14 01:22:24 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-14 01:22:24 +1000 |
commit | d7d2c82a828020fbfc8c738263b29ca9f1241ffb (patch) | |
tree | 9b38910fa56571d94f09be4800beb641a4af97b6 /share/functions/help.fish | |
parent | 58aa1e75c1fee54885f9e5034fee181aa72bce79 (diff) |
Fix bug in help builtin that caused fish to show index page instead of command-specific help
darcs-hash:20060613152224-ac50b-d1841f7069e4fee2c569fb0ee079efd3cfe7de8a.gz
Diffstat (limited to 'share/functions/help.fish')
-rw-r--r-- | share/functions/help.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/help.fish b/share/functions/help.fish index 629e241b..3bcbb1ad 100644 --- a/share/functions/help.fish +++ b/share/functions/help.fish @@ -79,7 +79,7 @@ function help -d (N_ "Show help for the fish shell") # documentation. It's a bit of a hack, since it relies on the # Doxygen markup format to never change... - case (sed -n < /usr/share/doc/fish-1.21.7/commands.html -e "s/.*<h2><a class=\"anchor\" name=\"\([^\"]*\)\">.*/\1/p") + case (sed -n < $__fish_help_dir/commands.html -e "s/.*<h2><a class=\"anchor\" name=\"\([^\"]*\)\">.*/\1/p") set fish_help_page "commands.html\#$fish_help_item" case $help_topics set fish_help_page "index.html\#$fish_help_item" |