Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: conflict of "exec zsh" with scp
- X-seq: zsh-users 12410
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: Re: conflict of "exec zsh" with scp
- Date: Thu, 10 Jan 2008 10:51:28 +0100
- In-reply-to: <080109182144.ZM7912@xxxxxxxxxxxxxxxxxxxxxx>
- Kreccount: 1
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080108220102.GB20640@xxxxxxxxx> <080108210151.ZM6361@xxxxxxxxxxxxxxxxxxxxxx> <080108233407.ZM6480@xxxxxxxxxxxxxxxxxxxxxx> <47841108.4020903@xxxxxxxxxxxxx> <20080109170542.GC20640@xxxxxxxxx> <080109182144.ZM7912@xxxxxxxxxxxxxxxxxxxxxx>
Bart Schaefer wrote:
> Yes, I don't know why I had my head on backwards for that message.
:-)
> The main reason to care one way or the other is globbing. If you pass a
> glob pattern to the remote system (which only makes sense if the remote
> system is the source of the copy, really), you'll be restricted to bash
> patterns unless you can figure out how to get zsh to run.
Ahhh, thanks for the explanation!
So if I want zsh to run for non-interactive shells, how would I do that?
Putting
exec zsh -$- "$@"
into .bashrc only leads to:
lama:~>scp admin@otherhost:/etc/passwd .
zsh: string expected after -c
[1] 31295 exit 1 scp -C admin@otherhost:/etc/passwd .
Thanks,
Andy.
--
cogito ergo sum, bibo ergo sum, cogito ergo bib, bibo ergo bib?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author