Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
#!/path/to/arch-indep/zsh -f
- X-seq: zsh-workers 7991
- From: Clint Olsen <olsenc@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: #!/path/to/arch-indep/zsh -f
- Date: Tue, 21 Sep 1999 18:23:51 -0700
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- Organization: Intel Corporation, Hillsboro, OR
Hello:
FYI, I'm using zsh-3.1.6.
I decided to change my script to reflect the copy of my shell, and attempt
to direct it to the path of my zsh wrapper itself causes the script to
misfire when it is executed from *csh. I've narrowed it down to a machine
independent wrapper I have which seems to be hampering starting the
interpreter. It is:
#!/bin/sh
if [ -f $OTOOLS/bin/$OS/zsh ]; then
exec $OTOOLS/bin/$OS/zsh $*
else
exec /usr/intel/bin/zsh $*
fi
Is this the most robust way to handle this?
-Clint
Messages sorted by:
Reverse Date,
Date,
Thread,
Author