From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id GAA11350 for ; Sat, 19 Oct 1996 06:12:06 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id QAA13851; Fri, 18 Oct 1996 16:08:31 -0400 (EDT) Resent-Date: Fri, 18 Oct 1996 16:02:12 -0400 (EDT) Message-Id: <199610182001.QAA00887@nerc3.nerc.com> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 3.3 v118.2) X-Image-URL: http://www.nerc.com/~luomat/Timothy_J_Luoma-X-Face.tiff X-Nextstep-Mailer: Mail 3.3 (Enhance 1.3) From: "Timothy J. Luoma" Date: Fri, 18 Oct 96 16:01:58 -0400 To: zsh-users@math.gatech.edu Subject: using old zsh (login shell) to launch new zsh (not in /etc/shells) Reply-To: luomat@nerc.com Organization: Princeton Theological Seminary Resent-Message-ID: <"1EAVP.0.LI3.39-Po"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/439 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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)