* 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
[parent not found: <kig3ezcvxmr.fsf@jagor.srce.hr>]
[parent not found: <199610182017.QAA00981@nerc3.nerc.com>]
[parent not found: <kigybh4ui8t.fsf@jagor.srce.hr>]
* SOLVED (Re: using old zsh (login shell) to launch new zsh (not in /etc/shells)) [not found] ` <kigybh4ui8t.fsf@jagor.srce.hr> @ 1996-10-18 20:59 ` Timothy J. Luoma 0 siblings, 0 replies; 4+ messages in thread From: Timothy J. Luoma @ 1996-10-18 20:59 UTC (permalink / raw) To: Hrvoje Niksic; +Cc: zsh-users Thanks to Hrvoje Niksic <hniksic@srce.hr> who figured out that it was because I had changed my $ZDOTDIR that my .zshenv was not being seen. It is working perfectly now. Many thanks! TjL ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: using old zsh (login shell) to launch new zsh (not in /etc/shells) 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> @ 1996-10-19 12:35 ` Swen Thuemmler 1996-10-19 12:43 ` Swen Thuemmler 1 sibling, 1 reply; 4+ messages in thread From: Swen Thuemmler @ 1996-10-19 12:35 UTC (permalink / raw) To: luomat; +Cc: zsh-users On Fri, 18 Oct 1996, Timothy J. Luoma wrote: [...] > 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" Which is correct, since you asked the shell to exec the file '/usr/local/luomat/bin/zsh-3.0.0 -l' (with the blank and the -l). Just remove the quotes, and it should work: exec '/usr/local/luomat/bin/zsh-3.0.0 -l' Greetings, Swen ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: using old zsh (login shell) to launch new zsh (not in /etc/shells) 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 0 siblings, 0 replies; 4+ messages in thread From: Swen Thuemmler @ 1996-10-19 12:43 UTC (permalink / raw) To: luomat; +Cc: zsh-users On Sat, 19 Oct 1996, Swen Thuemmler wrote: > remove the quotes, and it should work: > exec '/usr/local/luomat/bin/zsh-3.0.0 -l' Oops, the evils of cut'n'paste. Should of course be exec /usr/local/luomat/bin/zsh-3.0.0 -l without the quotes... --Swen ^ 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).