From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12239 invoked from network); 6 Oct 2001 23:38:15 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Oct 2001 23:38:15 -0000 Received: (qmail 17144 invoked by alias); 6 Oct 2001 23:38:02 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4348 Received: (qmail 17119 invoked from network); 6 Oct 2001 23:38:00 -0000 From: Bart Schaefer Message-Id: <1011006233630.ZM1507@candle.brasslantern.com> Date: Sat, 6 Oct 2001 23:36:30 +0000 In-Reply-To: <20011006133326.A3084@dman.com> Comments: In reply to Clint Adams "Re: How can I tell which version I'm running?" (Oct 6, 1:33pm) References: <1011006165049.ZM1223@candle.brasslantern.com> <20011006133326.A3084@dman.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Clint Adams Subject: Re: How can I tell which version I'm running? Cc: zsh-users@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 6, 1:33pm, Clint Adams wrote: } } > In addtion to $ZSH_VERSION, you can try running `zsh --version'; if that } > doesn't work, you have a version from more than a year ago. } } I may be remembering this incorrectly, but wasn't it $VERSION somewhere } around zsh 2.5? Yes. I actually have this in my .zshenv: # Set variables sanely for assorted versions : ${VERSION:="$ZSH_NAME $ZSH_VERSION"} : ${MACHTYPE:+${HOSTTYPE::=$MACHTYPE-$OSTYPE}} : ${MACHTYPE:=${HOSTTYPE%%-*}} : ${OSTYPE:=${HOSTTYPE#*-}} -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net