Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: conflict of "exec zsh" with scp
- X-seq: zsh-users 12424
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: "ZSH User List" <zsh-users@xxxxxxxxxx>
- Subject: Re: conflict of "exec zsh" with scp
- Date: Fri, 11 Jan 2008 22:29:07 +0100
- In-reply-to: <82839db60801101410w64a9c515v5f89ff3657fae062@xxxxxxxxxxxxxx>
- Mail-followup-to: "ZSH User List" <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080108220102.GB20640@xxxxxxxxx> <20080110212717.GF28203@xxxxxxxxxxxxxxxxxxx> <82839db60801101410w64a9c515v5f89ff3657fae062@xxxxxxxxxxxxxx>
On 2008-01-10 23:10:48 +0100, Anonymous bin ich wrote:
> You might be able to rectify problem once and for all by having
> something like this before your .bashrc:
>
> if [ -n "$(echo $- | grep i)" ]; then
> if [[ "$REALUSER" == "Andy Spiegl" ]]; then
> which zsh >/dev/null 2>&1 && exec zsh -l
> fi
> fi
This would have the effect to run zsh when one types bash from zsh.
This is bad as one may want to be able to use bash even though the
preferred login shell is zsh.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author