From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22220 invoked from network); 25 Jan 2005 14:43:10 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Jan 2005 14:43:10 -0000 Received: (qmail 1307 invoked from network); 25 Jan 2005 14:43:04 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Jan 2005 14:43:04 -0000 Received: (qmail 21500 invoked by alias); 25 Jan 2005 14:42:36 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8426 Received: (qmail 21489 invoked from network); 25 Jan 2005 14:42:35 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Jan 2005 14:42:35 -0000 Received: (qmail 99281 invoked from network); 25 Jan 2005 14:41:59 -0000 Received: from ns.suse.de (HELO Cantor.suse.de) (195.135.220.2) by a.mx.sunsite.dk with SMTP; 25 Jan 2005 14:41:54 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 16FA013A6339 for ; Tue, 25 Jan 2005 15:41:54 +0100 (CET) Date: Tue, 25 Jan 2005 15:41:50 +0100 From: Mads Martin Joergensen To: zsh-users@sunsite.dk Subject: Expansion order Message-ID: <20050125144150.GP29543@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 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.