From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24119 invoked by alias); 20 Aug 2015 13:26:07 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20442 Received: (qmail 15490 invoked from network); 20 Aug 2015 13:26:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Date: Thu, 20 Aug 2015 15:26:01 +0200 From: Marc Chantreux To: Peter Stephenson Cc: Zsh hackers list Subject: Re: Dude, where is noglob? Message-ID: <20150820132601.GA5168@ramirez.u-strasbg.fr> References: <20150819123138.GA29448@ramirez.u-strasbg.fr> <20150819140014.69a91f0f@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150819140014.69a91f0f@pwslap01u.europe.root.pri> User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: ClamAV using ClamSMTP Thanks Bart and Peter for replying On Wed, Aug 19, 2015 at 02:00:14PM +0100, Peter Stephenson wrote: > On Wed, 19 Aug 2015 14:31:38 +0200 > Marc Chantreux wrote: > > alias dude!="noglob dude" > > dude () { print "$@" } > > dude! where is my car? > > Do you have !-history enabled? In which case the dude! command works OK > (! not active before a space) but the alias could do anything. Try > > alias 'dude!=noglob dude' ok: if i remove the !, it works like a charm. thanks you -- Marc Chantreux (eiro on github and freenode) http://eiro.github.com/ http://eiro.github.com/atom.xml "Don't believe everything you read on the Internet" -- Abraham Lincoln