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 MAA07019 for ; Thu, 9 Nov 1995 12:22:08 +1100 (EST) Received: by math.gatech.edu (5.x/SMI-SVR4) id AA28188; Wed, 8 Nov 1995 20:04:50 -0500 Resent-Date: Wed, 8 Nov 1995 17:07:43 -0800 Old-Return-Path: From: schaefer@z-code.ncd.com (Barton E. Schaefer) Message-Id: <951108170743.ZM23367@zyrcon.z-code.com> Date: Wed, 8 Nov 1995 17:07:43 -0800 In-Reply-To: Mark Borges "Re: Rationalized? aliases" (Nov 8, 5:52pm) References: <199511082317.SAA29367@redwood.skiles.gatech.edu> <951108153643.ZM22842@zyrcon.z-code.com> <9511090052.AA17663@charney.cdc.noaa.gov> Reply-To: schaefer@z-code.ncd.com X-Face: czU|*h"p8AX?4.I.yU.^s%TIMx|"-s,*'|#H^|e,QjE&!jL%<]:-.U/;khS%3a2BC5_d#)( mz=$$G0u9P&*N8cA~b[URf;lgKRif@#qEf[ltie#Gg0%6$b`e`k.Cgw:\qJx\\a7c(K7^3;gXW:e1@ J Subject: Re: Rationalized? aliases Cc: zsh-workers@math.gatech.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-Id: <"iSVwU.0.Mu6.nELem"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/577 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Nov 8, 5:52pm, Mark Borges wrote: } Subject: Re: Rationalized? aliases } } B> e="gnuclient -q" } B> [[ $HOST != $HOMESYSTEM ]] && alias e="$=e -h $HOMESYSTEM" || alias e="$=e" } } An interesting idea, but it doesn't seem to do the same thing on my } system: } } $ e="gnuclient -q" } $ echo $=e } gnuclient -q } $ alias e="$=e -h $HOMESYSTEM" } $ type e } e is an alias for gnuclient Looks like a bug. Try it with just $e rather than $=e ... using $=e was a typo anyway; with the double quotes around it, it *should* have become completely equivalent to just $e. Instead, zsh seems to have broken the entire quoted string into two words at the space in the value of $e. -- Bart Schaefer Vice President, Technology, Z-Code Software schaefer@z-code.com Division of NCD Software Corporation http://www.well.com/www/barts