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

Re: disabling exit



>>>>> "DervishD" == DervishD  <raul@xxxxxxxxxxxx> writes:

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

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

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

besides even with ignore_eof you can still press ctrl-d, just hold it
down long enough...

-- 
Dennis
use Inline C => qq{void p(char*g){
printf("Just Another %s Hacker\n",g);}};p("Perl");



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