zsh-users
 help / color / mirror / code / Atom feed
* How can I tell which version I'm running?
@ 2001-10-06 15:45 Chris Gehlker
  2001-10-06 16:07 ` Vincent Lefevre
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Chris Gehlker @ 2001-10-06 15:45 UTC (permalink / raw)
  To: ZShell

OK, a silly newbie question but it's no in the FAQ. How do I get zsh to tell
me which version it is. I got it preinstalled.
-- 
Cogito Ergo Spud. - I think therefore I yam.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How can I tell which version I'm running?
  2001-10-06 15:45 How can I tell which version I'm running? Chris Gehlker
@ 2001-10-06 16:07 ` Vincent Lefevre
  2001-10-06 16:09 ` Bruce Stephens
  2001-10-06 16:50 ` Bart Schaefer
  2 siblings, 0 replies; 6+ messages in thread
From: Vincent Lefevre @ 2001-10-06 16:07 UTC (permalink / raw)
  To: ZShell

In article <B7E47541.1E444%gehlker@fastq.com>,
   Chris Gehlker <gehlker@fastq.com> wrote:
> OK, a silly newbie question but it's no in the FAQ. How do I get zsh to
> tell me which version it is. I got it preinstalled.

echo $ZSH_VERSION

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How can I tell which version I'm running?
  2001-10-06 15:45 How can I tell which version I'm running? Chris Gehlker
  2001-10-06 16:07 ` Vincent Lefevre
@ 2001-10-06 16:09 ` Bruce Stephens
  2001-10-06 16:50 ` Bart Schaefer
  2 siblings, 0 replies; 6+ messages in thread
From: Bruce Stephens @ 2001-10-06 16:09 UTC (permalink / raw)
  To: Chris Gehlker; +Cc: ZShell

Chris Gehlker <gehlker@fastq.com> writes:

> OK, a silly newbie question but it's no in the FAQ. How do I get zsh to tell
> me which version it is. I got it preinstalled.

echo $ZSH_VERSION


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How can I tell which version I'm running?
  2001-10-06 15:45 How can I tell which version I'm running? Chris Gehlker
  2001-10-06 16:07 ` Vincent Lefevre
  2001-10-06 16:09 ` Bruce Stephens
@ 2001-10-06 16:50 ` Bart Schaefer
  2001-10-06 17:33   ` Clint Adams
  2 siblings, 1 reply; 6+ messages in thread
From: Bart Schaefer @ 2001-10-06 16:50 UTC (permalink / raw)
  To: Chris Gehlker, zsh-users

On Oct 6,  8:45am, Chris Gehlker wrote:
}
} OK, a silly newbie question but it's no in the FAQ. How do I get zsh to tell
} me which version it is. I got it preinstalled.

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.

-- 
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   


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How can I tell which version I'm running?
  2001-10-06 16:50 ` Bart Schaefer
@ 2001-10-06 17:33   ` Clint Adams
  2001-10-06 23:36     ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Clint Adams @ 2001-10-06 17:33 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: Chris Gehlker, zsh-users

> 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?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How can I tell which version I'm running?
  2001-10-06 17:33   ` Clint Adams
@ 2001-10-06 23:36     ` Bart Schaefer
  0 siblings, 0 replies; 6+ messages in thread
From: Bart Schaefer @ 2001-10-06 23:36 UTC (permalink / raw)
  To: Clint Adams; +Cc: zsh-users

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   


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-10-06 23:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-06 15:45 How can I tell which version I'm running? Chris Gehlker
2001-10-06 16:07 ` Vincent Lefevre
2001-10-06 16:09 ` Bruce Stephens
2001-10-06 16:50 ` Bart Schaefer
2001-10-06 17:33   ` Clint Adams
2001-10-06 23:36     ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).