Zsh Mailing List Archive
Messages sorted by:
Re: Porting an alias from bash to zsh fails.
- X-seq: zsh-users 8100
- From: "s. keeling" <keeling@xxxxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: Re: Porting an alias from bash to zsh fails.
- Date: Sat, 23 Oct 2004 22:51:52 -0600
- In-reply-to: <Pine.LNX.4.61.0410232057370.23496@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20041023215252.GA24164@xxxxxxxxxxxxxxxxxxx> <m3mzyd6pzp.fsf@xxxxxxxxxx> <20041023231442.GA24632@xxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0410232057370.23496@xxxxxxxxxxxxxxxxxx>
- Sender: "s. keeling" <keeling@xxxxxxxxxxx>
Incoming from Bart Schaefer:
> On Sat, 23 Oct 2004, s. keeling wrote:
> > Hi list. I'm new to zsh so this could well be pretty simple. I've been
> > wondering why the following works in bash, but fails miserably in zsh.
> > [NO_MATCH explain snipped]
> > RXVTNEWSFONT='-*-neep alt-medium-*-normal-*-*-100-75-75-c-*-iso8859-1'
> > alias dfn="rxvt +sb -fn $RXVTNEWSFONT -geometry 128x51+69+42 \
> > -e nice /usr/bin/slrn -f /home/keeling/.jnewsrc-dfn \
> > -h news.individual.net"
> This one would have worked for you if only you'd put the entire thing in
> single quotes instead of double quotes. There's no reason to expand the
This is better. Specifically, when I type "alias", I see:
dfn='rxvt +sb -fn "$RXVTNEWSFONT" -geometry 128x51+69+42 \
-e nice /usr/bin/slrn -f /home/keeling/.jnewsrc-dfn \
... instead of seeing the _expanded_ version of $RXVTNEWSFONT in
Thanks. Much appreciated.
Perhaps I should start a new thread here, but should I assign any
significance to the fact that bash =~ 0.51 Mb and zsh =~ 0.4 Mb?
dpkg -l zsh
ii zsh 4.0.4-33 A shell with lots of features.
If it's got "lots of features" (presumably, > bash), why's it smaller?
More efficient coding, or does zsh throw out extraneous stuff that bash
Any technology distinguishable from magic is insufficiently advanced.
Messages sorted by: