From: schaefer@z-code.ncd.com (Barton E. Schaefer)
To: Mark Borges <mdb@cdc.noaa.gov>
Cc: zsh-workers@math.gatech.edu
Subject: Re: Rationalized? aliases
Date: Wed, 8 Nov 1995 17:07:43 -0800 [thread overview]
Message-ID: <951108170743.ZM23367@zyrcon.z-code.com> (raw)
In-Reply-To: Mark Borges <mdb@cdc.noaa.gov> "Re: Rationalized? aliases" (Nov 8, 5:52pm)
On Nov 8, 5:52pm, Mark Borges wrote:
} Subject: Re: Rationalized? aliases
}
} B> e="gnuclient -q"
} B> [[ $HOST != $HOMESYSTEM ]] && alias e="$=e -h $HOMESYSTEM" || alias e="$=e"
}
} An interesting idea, but it doesn't seem to do the same thing on my
} system:
}
} $ e="gnuclient -q"
} $ echo $=e
} gnuclient -q
} $ alias e="$=e -h $HOMESYSTEM"
} $ type e
} e is an alias for gnuclient
Looks like a bug. Try it with just $e rather than $=e ... using $=e was
a typo anyway; with the double quotes around it, it *should* have become
completely equivalent to just $e. Instead, zsh seems to have broken the
entire quoted string into two words at the space in the value of $e.
--
Bart Schaefer Vice President, Technology, Z-Code Software
schaefer@z-code.com Division of NCD Software Corporation
http://www.well.com/www/barts
next prev parent reply other threads:[~1995-11-09 1:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-08 20:57 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 [this message]
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=951108170743.ZM23367@zyrcon.z-code.com \
--to=schaefer@z-code.ncd.com \
--cc=mdb@cdc.noaa.gov \
--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).