zsh-workers
 help / color / mirror / code / Atom feed
* Rationalized? aliases
@ 1995-11-08 20:57 Vinnie Shelton
  1995-11-08 23:17 ` Richard Coleman
  0 siblings, 1 reply; 8+ messages in thread
From: Vinnie Shelton @ 1995-11-08 20:57 UTC (permalink / raw)
  To: zsh-workers

With beta10 and previous releases, the following worked:

% echo $ZSH_VERSION 
2.6-beta10
% alias e="gnuclient -q"
% [[ $HOST != $HOMESYSTEM ]] && alias e="$(whence e) -h $HOMESYSTEM"
% type e
e is an alias for gnuclient -q -h spacely


Now however, the rationalized alias output makes this not work:

% echo $ZSH_VERSION
2.6-beta11
alias e="gnuclient -q"
% [[ $HOST != $HOMESYSTEM ]] && alias e="$(whence e) -h $HOMESYSTEM"
% type e
e is an alias for \''gnuclient -q'\'' -h spacely'

This is not what I desire ('gnuclient -q' is not a valid command) - what
 I want is to append "-h spacely" to the alias.  How can I do this?

Thanks in advance,
  Vin


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

end of thread, other threads:[~1995-11-09 11:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-11-08 20:57 Rationalized? aliases Vinnie Shelton
1995-11-08 23:17 ` Richard Coleman
1995-11-08 23:36   ` Barton E. Schaefer
1995-11-09  0:52     ` Mark Borges
1995-11-09  1:07       ` Barton E. Schaefer
1995-11-09 11:13       ` Zoltan Hidvegi
1995-11-08 23:38   ` Vinnie Shelton
1995-11-09  2:12   ` Zefram

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