From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from math.gatech.edu (euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with SMTP id KAA02959 for ; Thu, 9 Nov 1995 10:51:16 +1100 (EST) Received: by math.gatech.edu (5.x/SMI-SVR4) id AA27526; Wed, 8 Nov 1995 18:37:01 -0500 Resent-Date: Wed, 08 Nov 1995 18:38:01 -0500 Old-Return-Path: Message-Id: <9511082338.AA11850@spacely.afive> To: Richard Coleman Cc: zsh-workers@math.gatech.edu Subject: Re: Rationalized? aliases In-Reply-To: coleman's message of Wed, 08 Nov 1995 18:17:19 -0500. <199511082317.SAA29367@redwood.skiles.gatech.edu> Reply-To: acs@world.std.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 08 Nov 1995 18:38:01 -0500 From: Vinnie Shelton Resent-Message-Id: <"CvcJq2.0.0k6.TyJem"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/575 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu In message <199511082317.SAA29367@redwood.skiles.gatech.edu>, Richard Coleman w rote: > >Rather than changing the code of zsh for this, maybe you should >just use > >alias e="$(whence e | tr -d \') -h" > >Doing things like this is what makes command substitution so >cool. Yes, but then I have to know to do the tr substition. I want a general solution that works for commands and aliases and is a little bit cleaner than piping the output through 'tr' (IMHO). --vin