From d7d2c82a828020fbfc8c738263b29ca9f1241ffb Mon Sep 17 00:00:00 2001 From: axel Date: Wed, 14 Jun 2006 01:22:24 +1000 Subject: [PATCH] Fix bug in help builtin that caused fish to show index page instead of command-specific help darcs-hash:20060613152224-ac50b-d1841f7069e4fee2c569fb0ee079efd3cfe7de8a.gz --- share/functions/help.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/help.fish b/share/functions/help.fish index 629e241b2..3bcbb1adb 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/.*

.*/\1/p") + case (sed -n < $__fish_help_dir/commands.html -e "s/.*

.*/\1/p") set fish_help_page "commands.html\#$fish_help_item" case $help_topics set fish_help_page "index.html\#$fish_help_item"