Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'zsh -ic exit' hangs
- X-seq: zsh-workers 21878
- From: DervishD <zsh@xxxxxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: 'zsh -ic exit' hangs
- Date: Fri, 14 Oct 2005 20:37:57 +0200
- Cc: zsh-workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <237967ef0510141120m447dc9dct363bf1732c3433b6@xxxxxxxxxxxxxx>
- Mail-followup-to: Mikael Magnusson <mikachu@xxxxxxxxx>, zsh-workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: DervishD
- References: <237967ef0510140911q32b1e038p9f7b96d3de7a90ef@xxxxxxxxxxxxxx> <1051014165031.ZM21924@xxxxxxxxxxxxxxxxxxxxxxx> <237967ef0510141117r3246dd3ev232bcb62834a94d8@xxxxxxxxxxxxxx> <237967ef0510141120m447dc9dct363bf1732c3433b6@xxxxxxxxxxxxxx>
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