I’m using Mandrake Linux 2006, when I run the help command from fish (v1.21.4)  I get.

 

rhh> help

/usr/share/fish/functions/help.fish (line 12): htmlview file:///user/share/doc/fish-1.21.4/index.html

 

                                                               ^

In function ‘help’

            Called on standard input.

 

On inspecting the file, I noticed that there is no check to ensure the ‘htmlview’ is installed. I have not got htmlview hence I get the error. 

 

A check similar to the following would cleanup the output.

 

If test “htmlview”

 Print (_ ‘%s, Could not find html view.\n’) help

Print (_ “Please install html view to access the fish help files.\n’)

 

 return

end

 

I am not familiar with the language above (is it perl?), so my solution maybe flawed.

 

Reply via email to