Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How can I tell which version I'm running?
- X-seq: zsh-users 4348
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Clint Adams <clint@xxxxxxx>
- Subject: Re: How can I tell which version I'm running?
- Date: Sat, 6 Oct 2001 23:36:30 +0000
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20011006133326.A3084@xxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <B7E47541.1E444%gehlker@xxxxxxxxx> <1011006165049.ZM1223@xxxxxxxxxxxxxxxxxxxxxxx> <20011006133326.A3084@xxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author