It's a bug in the configuration files.

The fish_on_exit function is actually defined by an event handler that runs
the first time an interactive prompt is to be shown. It should at the very
least chech if such a function already exists.

Axel

2009/2/12 Stestagg <[email protected]>

> I was asked today how to prevent fish from printing the "Goodbye"
> message on exit.
>
> The solution I suggested was to set:
>
> function fish_on_exit
> exit
>
> When done interactively, this nearly works as expected (Still prints a
> blank line)
>
> But when defined in the ~/.fish/config/fish.config file, it seems to
> have no effect.  Does the default function get written after the init
> files have been evaluated??
>
> Is this a bug, or just poor documentation, or did I misunderstand something
>
> Many Thanks
>
> Steve Stagg
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications today-
> http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to