From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11094 invoked from network); 16 Nov 2004 13:46:41 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Nov 2004 13:46:41 -0000 Received: (qmail 2297 invoked from network); 16 Nov 2004 13:46:35 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Nov 2004 13:46:35 -0000 Received: (qmail 1594 invoked by alias); 16 Nov 2004 13:45:44 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8217 Received: (qmail 1579 invoked from network); 16 Nov 2004 13:45:44 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 16 Nov 2004 13:45:44 -0000 Received: (qmail 863 invoked from network); 16 Nov 2004 13:45:44 -0000 Received: from pegleg.valdosta.edu (168.18.153.245) by a.mx.sunsite.dk with SMTP; 16 Nov 2004 13:45:42 -0000 Received: from pegleg.valdosta.edu (localhost [127.0.0.1]) by pegleg.valdosta.edu (8.13.1/8.13.1) with ESMTP id iAGDjdK1017881 for ; Tue, 16 Nov 2004 08:45:39 -0500 Received: (from keef@localhost) by pegleg.valdosta.edu (8.13.1/8.13.1/Submit) id iAGDjdwA017880 for zsh-users@sunsite.dk; Tue, 16 Nov 2004 08:45:39 -0500 X-Authentication-Warning: pegleg.valdosta.edu: keef set sender to zsh@local7.info using -f Date: Tue, 16 Nov 2004 08:45:39 -0500 From: keef To: zsh-users@sunsite.dk Subject: !!:$ Message-ID: <20041116134539.GB14064@pegleg.valdosta.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i User-Agent: Mutt (grrrrr edition) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 yarr mateys! consider the following: % touch somefile % chmod 755 !!:$ -this essentially will chmod 755 the last arg in the previous history cmd now then, id like to incorporate this into my .zshrc something to the effect of: alias ch="chmod 755 !!:$" but this produces the error: chmod: cannot access `!!:$': No such file or directory apparently its looking for a literal filname of "!!:$" can anyone out there recommend a way to go about doing this ?