From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14946 invoked from network); 16 Mar 2004 19:15:24 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 16 Mar 2004 19:15:24 -0000 Received: (qmail 4677 invoked by alias); 16 Mar 2004 19:15:07 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7188 Received: (qmail 4663 invoked from network); 16 Mar 2004 19:15:06 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 16 Mar 2004 19:15:06 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 16 Mar 2004 19:15:6 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B3K1q-0006RQ-00 for ; Tue, 16 Mar 2004 20:15:06 +0100 Received: from cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com ([80.3.247.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Mar 2004 20:15:06 +0100 Received: from david by cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Mar 2004 20:15:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: zzapper Subject: Aliases with multiple names Date: Tue, 16 Mar 2004 19:15:00 +0000 Message-ID: <57ke50hc0r34pj1sdb31mhio5lbv1hfth3@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Sender: news Hi Ya I want to give aliases long & short names (w/o duplicating the entire alias) alias fred='echo "goat"' alias f=fred Both f & fred now echo goat but is this actually "legal" and will it always work? zzapper (vim, cygwin, wiki & zsh) -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips