Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How can I tell which version I'm running?



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