Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: disabling exit
- X-seq: zsh-users 5965
- From: DervishD <raul@xxxxxxxxxxxx>
- To: Eric Smith <es@xxxxxxxxxxxx>
- Subject: Re: disabling exit
- Date: Thu, 13 Mar 2003 16:01:32 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20030313135948.GA3693@xxxxxxxxxxxx>
- Mail-followup-to: Eric Smith <es@xxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Pleyades
- References: <20030312204634.GA21684@xxxxxxxxxxxx> <20030313101910.GA23691@xxxxxxxxxxxxxxxxx> <20030313135948.GA3693@xxxxxxxxxxxx>
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