Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: wish list -- noglob on a per-function basis
- X-seq: zsh-users 241
- From: Hrvoje Niksic <hniksic@xxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: wish list -- noglob on a per-function basis
- Date: 09 Jun 1996 02:50:25 +0200
- In-reply-to: Steven L Baur's message of 08 Jun 1996 16:52:09 -0700
- References: <m2k9xhg8gm.fsf@xxxxxxxxxxxxxxxxxxx>
- Sender: hniksic@xxxxxxxxxxxxxx
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