Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: using brackets in scripts
- X-seq: zsh-users 13990
- From: Pol <xtekhne@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: using brackets in scripts
- Date: Sun, 29 Mar 2009 17:12:43 +0200
- Mail-copies-to: xtekhne@xxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: (Soft)
- References: <gqnfh0$t9t$1@xxxxxxxxxxxxx> <200903291445.32918.arvidjaar@xxxxxxxxx> <gqnltq$c4f$1@xxxxxxxxxxxxx> <20090329113959.49732.qmail@xxxxxxxxxxx>
- Reply-to: xtekhne@xxxxxxxxx
- Sender: news <news@xxxxxxxxxxxxx>
Atom Smasher wrote:
sudo zsh -c ls -l save/*(.)
>
> or, try setting "SHELL=zsh" towards the top of the script, before invoking
> sudo.
>
Problem solved: i have moved the line
#!/bin/zsh
to the top of the script (a few comment lines were on top, at my first
attempt)
Thank you, anyway
---P
Messages sorted by:
Reverse Date,
Date,
Thread,
Author