zsh-users
 help / color / mirror / code / Atom feed
From: Mads Martin Joergensen <mmj@suse.de>
To: zsh-users@sunsite.dk
Subject: Expansion order
Date: Tue, 25 Jan 2005 15:41:50 +0100	[thread overview]
Message-ID: <20050125144150.GP29543@suse.de> (raw)

Hey together,

$ export LS_OPTIONS="-N --color=tty -T 0"
$ alias ls='ls $LS_OPTIONS'
$ ls
/bin/ls: invalid option --
Try `/bin/ls --help' for more information.

How come the zsh is doing the expansion in this case differently from
csh, tcsh, bash and sh?

If it's a configuration option or such, I would be grateful to know. I
looked through the expansion man-pages, but I might have missed it.

-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
 and totally illogical, with just a little bit more effort?"
                                -- A. P. J.


             reply	other threads:[~2005-01-25 14:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-25 14:41 Mads Martin Joergensen [this message]
2005-01-25 14:53 ` Peter Stephenson
2005-01-25 16:54   ` Bart Schaefer
2005-01-25 15:03 ` Stephane Chazelas

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=20050125144150.GP29543@suse.de \
    --to=mmj@suse.de \
    --cc=zsh-users@sunsite.dk \
    /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).