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

Re: glob expansion




On 28Apr, 2008, at 10:16, Lloyd Zusman wrote:

Michael Wild <themiwi@xxxxxxxxx> writes:

[ ... ]

find /usr/lib -type f -name *.so

[ ... ]

So my question: Is there any way to change the expansion behavior of
ZSH? The man-pages and the FAQ didn't help me, nor did google. But
then, I'm quite sure I didn't use the appropriate search terms...

Try this:

 alias find='noglob /usr/bin/find'

Then, issue the command above. This works for specific commands. Also,
look at 'setopt nonomatch' if you want this behavior all the time.


The "nonomatch" option is exactly what I've been looking for.

Thanks a lot.


Michael



Messages sorted by: Reverse Date, Date, Thread, Author