Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Porting an alias from bash to zsh fails.



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.  I've tried stuffing the font into an ENV variable, I've replaced the
double quotes with single ticks, I've inserted a "\" before the
embedded space char, and I've used the real font name (not the ENV
var) in the alias itself, all to no avail.  What am I missing here?

   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"

[That alias line is really all on one line without the "\"'s.]
Running "dfn &" in zsh says:

   ------------------------------------------------
(0) keeling /home/keeling_ dfn &
[1] 24158
(0) keeling /home/keeling_ zsh: no matches found: -*-neep alt-medium-*-normal-*-*-100-75-75-c-*-iso8859-1

[1]  + exit 1     rxvt +sb -fn -*-neep\ alt-medium-*-normal-*-*-100-75-75-c-*-iso8859-1   -e   
   ------------------------------------------------

Thanks.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Messages sorted by: Reverse Date, Date, Thread, Author