Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Something like noglob to inhibit brace expansion?
- X-seq: zsh-users 6642
- From: Lloyd Zusman <ljz@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Something like noglob to inhibit brace expansion?
- Date: Sat, 04 Oct 2003 19:40:29 -0400
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Reply-to: ljz@xxxxxxxxxx
- Sender: Lloyd Zusman <ljz@xxxxxxxxxx>
Is there something akin to the noglob precommand modifier that I can use
to inhibit brace expansion?
% alias pr='noglob print'
% pr *
*
% pr {a,b,c,*}
a b c *
What I'd like to see is {a,b,c,*}
I know that 'setopt ignorebraces' handles this in general, but it's not
a precommand modifier, so I don't see how I can use it like this within
an alias.
Does anyone know of any tricks to get this functionality within
an alias?
Thanks in advance.
--
Lloyd Zusman
ljz@xxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author