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

Re: PATCH: Re: expansion



On Jun 15,  5:15pm, Sven Wischnowsky wrote:
} Subject: Re: PATCH: Re: expansion
}
} > a(<tab> and you will get '_expand:78: bad pattern: a(' because of the
} > lack of a closing bracket.
} 
} It doesn't anymore, (e) is silent nowadays. By using eval we could get 
} that, though (that's why I said `careful').

Something like this:

	eval exp\=\( ${${(q)exp}:gs/\\{/{/:gs/\\}/}/} \)

I haven't figured out where the right place to put that is, though.  I
tried a couple of different spots in _expand and they both caused brace
*completion* to stop working, even though the word on the line didn't
change.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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