From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3301 invoked from network); 3 Sep 2006 21:32:04 -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=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 21:32:04 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 70245 invoked from network); 3 Sep 2006 21:31:56 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Sep 2006 21:31:56 -0000 Received: (qmail 21905 invoked by alias); 3 Sep 2006 21:31:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10666 Received: (qmail 21895 invoked from network); 3 Sep 2006 21:31:36 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Sep 2006 21:31:36 -0000 Received: (qmail 66835 invoked from network); 3 Sep 2006 21:31:36 -0000 Received: from as-7.de (HELO mail.as-6.de) (80.190.252.16) by a.mx.sunsite.dk with SMTP; 3 Sep 2006 21:31:20 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.as-6.de (Postfix) with ESMTP id A359A92801F for ; Sun, 3 Sep 2006 23:31:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.as-6.de Received: from mail.as-6.de ([127.0.0.1]) by localhost (mail.as-6.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g+FadxZzZkBL for ; Sun, 3 Sep 2006 23:31:11 +0200 (CEST) Received: from qbiathome (pD9557841.dip.t-dialin.net [217.85.120.65]) by mail.as-6.de (Postfix) with ESMTP id 29465928011 for ; Sun, 3 Sep 2006 23:31:05 +0200 (CEST) Received: from jens by qbiathome with local (Exim 4.62) (envelope-from ) id 1GJzXp-0002eN-MV for zsh-users@sunsite.dk; Sun, 03 Sep 2006 23:30:21 +0200 Date: Sun, 3 Sep 2006 23:30:21 +0200 From: Jens Kubieziel To: zsh-users@sunsite.dk Subject: Creating short time aliases Message-ID: <20060903213021.GR23692@kubieziel.de> Mail-Followup-To: zsh-users@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organisation: Qbi's Welt User-Agent: Mutt/1.5.12-2006-07-14 Hi, within bash I can use some pseudo-aliases: $ a really long command name # myalias $ Ctrl+R myalias The last command expands to 'a really long command name'. When I try this in zsh; i get an error "bad pattern: #". What would be a good zsh'ish way to get a similar result? Thanks for your recommendations -- Jens Kubieziel http://www.kubieziel.de FdI#430: Heterogene Umgebung Debian und Linux 9.1 (Bodo Eggert)