zsh-users
 help / color / mirror / code / Atom feed
* using old zsh (login shell) to launch new zsh (not in /etc/shells)
@ 1996-10-18 20:01 Timothy J. Luoma
       [not found] ` <kig3ezcvxmr.fsf@jagor.srce.hr>
  1996-10-19 12:35 ` using old zsh (login shell) to launch new zsh (not in /etc/shells) Swen Thuemmler
  0 siblings, 2 replies; 4+ messages in thread
From: Timothy J. Luoma @ 1996-10-18 20:01 UTC (permalink / raw)
  To: zsh-users


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)



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

end of thread, other threads:[~1996-10-19 12:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-18 20:01 using old zsh (login shell) to launch new zsh (not in /etc/shells) Timothy J. Luoma
     [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

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