Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Backticks In zshenv
- X-seq: zsh-users 1881
- From: Goran Larsson <hoh@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: Backticks In zshenv
- Date: Wed, 21 Oct 1998 09:33:09 +0200 (MET-DST)
- In-reply-to: <981020095542.ZM5494@xxxxxxxxxxxxxxxxxxxxxxx>
On 20 Oct, Bart Schaefer wrote:
> I've just seen the same problem, on a newly-installed RedHat 5.1 Linux
> system with the zsh-3.0.5-2 RPM. The /etc/zshenv file contains
>
> if [[ `id -u` -eq 0 ]]
> then
> ...
> fi
Some days ago this code (executed by zsh 3.1.4) failed, one time only,
with the error "zsh: parse error: condition expected: = ".
if [ `/usr/ucb/whoami` = root ]; then
PATH_LAST=$PATH_LAST:/usr/etc
fi
> problems. I'd assumed it was something about the "id" program.
and "whoami" :-)
--
Goran Larsson hoh@xxxxxxxxxx
I was an atheist, http://home1.swipnet.se/%7Ew-12153/
until I found out I was God.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author