zsh-workers
 help / color / mirror / code / Atom feed
From: Vinnie Shelton  <shelton@icd.teradyne.com>
To: zsh-workers@math.gatech.edu
Subject: Rationalized? aliases
Date: Wed, 08 Nov 1995 15:57:37 -0500	[thread overview]
Message-ID: <9511082057.AA08200@spacely.afive> (raw)

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


             reply	other threads:[~1995-11-08 21:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-11-08 20:57 Vinnie Shelton [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9511082057.AA08200@spacely.afive \
    --to=shelton@icd.teradyne.com \
    --cc=acs@world.std.com \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).