Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Portable zsh scripts
- X-seq: zsh-users 12643
- From: Thorsten Kampe <thorsten@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Portable zsh scripts
- Date: Wed, 27 Feb 2008 12:37:14 -0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Hi,
I'm starting all my zsh scripts with...
#! /bin/zsh -f
emulate -R zsh
...in order to minimize any problems that might occur because other
systems have other zsh options set.
My question is: does it make sense to do it that way?
I'm especially uncertain about the "emulate -R zsh" and the -R
parameter because I don't fully understand what it does. Would
"emulate zsh" or "emulate -L zsh" or "emulate -RL zsh" be even better?
Thorsten
Messages sorted by:
Reverse Date,
Date,
Thread,
Author