Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: conflict of "exec zsh" with scp
- X-seq: zsh-users 12414
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: Re: conflict of "exec zsh" with scp
- Date: Thu, 10 Jan 2008 22:27:17 +0100
- In-reply-to: <20080108220102.GB20640@xxxxxxxxx>
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080108220102.GB20640@xxxxxxxxx>
On 2008-01-08 23:01:02 +0100, Andy Spiegl wrote:
> At work all my colleagues prefer bash (I couldn't convince them yet *sigh*).
> But I can't live without zsh anymore. So I put the following into .bashrc:
>
> if [[ "$REALUSER" == "Andy Spiegl" ]]; then
> which zsh >/dev/null 2>&1 && exec zsh -l
> fi
It's better to put that in your .bash_profile (instead of .bashrc) so
that it is executed only by login shells. This is what I do.
--
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