Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: using old zsh (login shell) to launch new zsh (not in /etc/shells)



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




Messages sorted by: Reverse Date, Date, Thread, Author