From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22434 invoked from network); 3 Sep 2006 22:36:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Sep 2006 22:36:48 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 33608 invoked from network); 3 Sep 2006 22:36:41 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Sep 2006 22:36:41 -0000 Received: (qmail 28756 invoked by alias); 3 Sep 2006 22:36:31 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10669 Received: (qmail 28747 invoked from network); 3 Sep 2006 22:36:30 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Sep 2006 22:36:30 -0000 Received: (qmail 31967 invoked from network); 3 Sep 2006 22:36:30 -0000 Received: from dsl-63-249-88-2.cruzio.com (HELO dot.blorf.net) (63.249.88.2) by a.mx.sunsite.dk with SMTP; 3 Sep 2006 22:36:28 -0000 Received: by dot.blorf.net (Postfix, from userid 1000) id C2104828; Sun, 3 Sep 2006 15:36:24 -0700 (PDT) Date: Sun, 3 Sep 2006 15:36:24 -0700 From: Wayne Davison To: zsh-users@sunsite.dk Subject: Re: Creating short time aliases Message-ID: <20060903223624.GB25165@blorf.net> References: <20060903213021.GR23692@kubieziel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060903213021.GR23692@kubieziel.de> User-Agent: Mutt/1.5.13 (2006-08-11) On Sun, Sep 03, 2006 at 11:30:21PM +0200, Jens Kubieziel wrote: > $ a really long command name # myalias In addition to Frank's suggestion to turn on the interactivecomments option in zsh, you could instead choose to use a different comment idiom (which works in both shells all the time): $ a really long command name ;: myalias It's a little harder to type, though, so you may just prefer to stick with # . ..wayne..