On 6/5/08, Frederik 'Freso' S. Olesen <[EMAIL PROTECTED]> wrote:
> Isaac Dupree skrev:
>>[...] Now I tried "help function" like
>>it told me to, since function --help doesn't work, and not only did it
>>shuffle me off to a graphical application -- but to Konqueror, even
>>though I'm running GNOME where my default browser is Firefox!  (of
>>course, since I do also have parts of KDE installed - though not running
>>- that might be nontrivial to "fix"? But it is generally well-defined
>>whether gnome or kde or neither is running at any point in time of the
>>current X session)
>
> fish, as most CLI applications, use the BROWSER environment variable to
> determine which browser to launch. Apparently, you have BROWSER set to
> konqueror.
> See http://fishshell.org/user_doc/index.html#variables-special for
> information on this and other environment variables affecting how fish
> operates.

I have always said that Fish should try to use a terminal-based HTML
browser by default.  The BROWSER variable specifies the default
browser for serious web browsing, Java script, flash, etc.  Instead,
Fish help needs to start up instantly and avoid window switching.
Fish help should just look for any browser known to exist on Unix
systems, starting with text-based ones.  If the user wants to change
that, she can redefine the function "help" in file
"~/.config/fish/functions/help.fish".  Or it can be specified using a
separate variable "TERMINAL_BROWSER", which would presumably be used
also for other terminal applications.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to