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

Re: using brackets in scripts



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