zsh-users
 help / color / mirror / code / Atom feed
* Porting an alias from bash to zsh fails.
@ 2004-10-23 21:52 s. keeling
       [not found] ` <m3mzyd6pzp.fsf@asfast.com>
  0 siblings, 1 reply; 7+ messages in thread
From: s. keeling @ 2004-10-23 21:52 UTC (permalink / raw)
  To: zsh-users

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 
- -


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-24 19:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-23 21:52 Porting an alias from bash to zsh fails s. keeling
     [not found] ` <m3mzyd6pzp.fsf@asfast.com>
2004-10-23 23:14   ` s. keeling
2004-10-24  4:09     ` Bart Schaefer
2004-10-24  4:25       ` Lloyd Zusman
2004-10-24  4:51       ` s. keeling
2004-10-24 15:59         ` Bart Schaefer
2004-10-24 19:41           ` s. keeling

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).