zsh-users
 help / color / mirror / code / Atom feed
From: "Timothy J. Luoma" <luomat@nerc3.nerc.com>
To: zsh-users@math.gatech.edu
Subject: using old zsh (login shell) to launch new zsh (not in /etc/shells)
Date: Fri, 18 Oct 96 16:01:58 -0400	[thread overview]
Message-ID: <199610182001.QAA00887@nerc3.nerc.com> (raw)


I've got an account where they are running a 2.5.x version of ZSH.

I want to run 3.0.0

How can I launch 3.0.0 from my .zshenv without going into a loop  
(and making sure the zsh exist?

/usr/local/bin/zsh 		
	is the old one, and is in /etc/shells

/usr/local/luomat/bin/zsh-3.0.0
	is the new one and is NOT in /etc/shells (and I can't add it)

I thought I could do this:

if [ "$ZSH_VERSION" != "3.0.0" ]
then

	if [ -x /usr/local/luomat/bin/zsh-3.0.0 ]
	then
		exec '/usr/local/luomat/bin/zsh-3.0.0 -l'
	fi
fi

I want to start 3.0.0 as a LOGIN shell, so it will souce .zshenv

However, it does not work, it says that  
'/usr/local/luomat/bin/zsh-3.0.0 -l' doesn't work because there is  
"no such file"

What am I doing wrong?

Thanks
TjL

ps -- please CC me, as I seem to no longer be part of the list (I'm  
trying to get back on)



             reply	other threads:[~1996-10-18 20:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-18 20:01 Timothy J. Luoma [this message]
     [not found] ` <kig3ezcvxmr.fsf@jagor.srce.hr>
     [not found]   ` <199610182017.QAA00981@nerc3.nerc.com>
     [not found]     ` <kigybh4ui8t.fsf@jagor.srce.hr>
1996-10-18 20:59       ` SOLVED (Re: using old zsh (login shell) to launch new zsh (not in /etc/shells)) Timothy J. Luoma
1996-10-19 12:35 ` using old zsh (login shell) to launch new zsh (not in /etc/shells) Swen Thuemmler
1996-10-19 12:43   ` Swen Thuemmler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199610182001.QAA00887@nerc3.nerc.com \
    --to=luomat@nerc3.nerc.com \
    --cc=luomat@nerc.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).