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

Re: wish list -- noglob on a per-function basis



Steven L Baur (steve@xxxxxxxxxxxx) wrote:
> 
> I'd like a method of specifying commands and shell functions/aliases
> that do not get globbed by the shell.  The csh-style flag is too
> coarse a setting.
> 
> Something like:
> typeset -f -noglob rename
> 
> Then the function could be called without quoting, or option fiddling:
> rename *.obj *.o

What about
alias rename='noglob rename'

Something similar is suggested by the FAQ for nocorrect (alias
mkdir='nocorrect mkdir').

-- 
hniksic@xxxxxxx              |  Student of electrical engineering
hniksic@xxxxxxxxxxxxx        |  University of Zagreb, Croatia
------------------------------------------------------------------
I'm a Lisp variable -- bind me!




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