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

Re: 'zsh -ic exit' hangs



    Hi Mikael :)

 * Mikael Magnusson <mikachu@xxxxxxxxx> dixit:
> apparently this is the culprit,
> alias exit=' exit'
> (i have that so exit doesn't get saved in the history)

    Try this:

    alias exit=' "exit"'

    I'm not sure if the problem is an infinite loop while expanding
"exit" :??? Anyway I always do the above to avoid problems, because
"exit" may be aliased previously. The double quotes ensure you're
using the unaliased version.

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...



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