Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
globbing working on CLI but not in file
Hi zsh'ers,
This glob works when executed on the CLI
$ ls [^~](#i)*xls*(.om[1])
something_with_xls_in_it.xls
But not in a file
$ /usr/bin/zsh --no-rcs -x bin/lastmatch
+/etc/zsh/zshenv:15> [[ -z /Users/eric/bin: ... other path here ////bin:/usr/bin ]]
bin/lastmatch:2: no matches found: [^~](#i)*xls*(.om[1])
$ zsh --version
zsh 5.1.1 (x86_64-ubuntu-linux-gnu)
Thanks to anyone who can help me to run this in a script.
ciao
Eric
Messages sorted by:
Reverse Date,
Date,
Thread,
Author