* wish list -- noglob on a per-function basis
@ 1996-06-08 23:52 Steven L Baur
1996-06-09 0:50 ` Hrvoje Niksic
1996-06-09 1:00 ` Geoff Wing
0 siblings, 2 replies; 4+ messages in thread
From: Steven L Baur @ 1996-06-08 23:52 UTC (permalink / raw)
To: zsh-users
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
--
steve@miranova.com baur
Unsolicited commercial e-mail will be proofread for $250/hour.
Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone
except you in November.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wish list -- noglob on a per-function basis
1996-06-08 23:52 wish list -- noglob on a per-function basis Steven L Baur
@ 1996-06-09 0:50 ` Hrvoje Niksic
1996-06-09 19:08 ` Steven L Baur
1996-06-09 1:00 ` Geoff Wing
1 sibling, 1 reply; 4+ messages in thread
From: Hrvoje Niksic @ 1996-06-09 0:50 UTC (permalink / raw)
To: zsh-users
Steven L Baur (steve@miranova.com) 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@srce.hr | Student of electrical engineering
hniksic@fly.cc.fer.hr | University of Zagreb, Croatia
------------------------------------------------------------------
I'm a Lisp variable -- bind me!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wish list -- noglob on a per-function basis
1996-06-08 23:52 wish list -- noglob on a per-function basis Steven L Baur
1996-06-09 0:50 ` Hrvoje Niksic
@ 1996-06-09 1:00 ` Geoff Wing
1 sibling, 0 replies; 4+ messages in thread
From: Geoff Wing @ 1996-06-09 1:00 UTC (permalink / raw)
To: Steven L Baur; +Cc: zsh-users
: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
How about
alias rename='noglob rename'
--
Mason [G.C.W] mason@werple.mira.net.au "Hurt...Agony...Pain...LOVE-IT"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wish list -- noglob on a per-function basis
1996-06-09 0:50 ` Hrvoje Niksic
@ 1996-06-09 19:08 ` Steven L Baur
0 siblings, 0 replies; 4+ messages in thread
From: Steven L Baur @ 1996-06-09 19:08 UTC (permalink / raw)
To: zsh-users
>>>>> "Hrvoje" == Hrvoje Niksic <hniksic@srce.hr> writes:
Hrvoje> Steven L Baur (steve@miranova.com) wrote:
>>
>> I'd like a method of specifying commands and shell functions/aliases
>> that do not get globbed by the shell.
Hrvoje> What about
Hrvoje> alias rename='noglob rename'
Yup. That does it. And it's a bit nicer than defmacro. Thanks.
Hrvoje> I'm a Lisp variable -- bind me!
ROTFL
--
steve@miranova.com baur
Unsolicited commercial e-mail will be proofread for $250/hour.
Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone
except you in November.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-06-09 19:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-08 23:52 wish list -- noglob on a per-function basis Steven L Baur
1996-06-09 0:50 ` Hrvoje Niksic
1996-06-09 19:08 ` Steven L Baur
1996-06-09 1:00 ` Geoff Wing
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).