Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: make "for x in *$1*" case insensitive?
- X-seq: zsh-users 7110
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: make "for x in *$1*" case insensitive?
- Date: Thu, 04 Mar 2004 18:26:22 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <hgje40pphnu6vmfojfc8d7u7tlgrrvvqhr@xxxxxxx> <1044.1078418794@xxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
On Thu, 04 Mar 2004 16:46:34 +0000, Peter Stephenson wrote:
>
>function vvv() {
> setopt localoptions extended_glob
> local x
>
> for x in (#i)*$1*
> do
> echo $x
> done
>}
That works perfectly!!
Thanx
zzapper (vim & cygwin & zsh)
--
vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"
http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author