Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: disabling exit



    Hi Eric :)

 Eric Smith dixit:
> Also added:
> alias exit='echo -e I wont go away'

    Won't work. Just type 'exit' (that way, with the quotes) and the
true 'exit', not the aliased one, will execute :((

    Better run 'disable exit'. You can always 'enable exit' again,
but... If you really need all that control, how about tweaking the
source code?. It's not very difficult and you get control over what
builtin commands are present and what not.

    Good luck :)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.pleyades.net & http://www.pleyades.net/~raulnac



Messages sorted by: Reverse Date, Date, Thread, Author