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

Re: bash-like completion?



On 26 September 1997, Karsten Thygesen writes:
 > 
 > Hi
 > 
 > How can I make zsh filename-complete something after a string? Ie:
 > 
 > ./configure --prefix=/usr/loc<COMPLETE>

I use this to get completion on "export" commands:


 # if asked to complete export ..., use files and directories after the =
 # and existing shell variables before the =
 compctl -E -S '=' -x 'n[1,=]' -f -- export    



-- 

Matthew Lovell                       voice: (970) 229-6264 
Hewlett-Packard FSL                    fax: (970) 229-2510 
3404 E. Harmony Rd. MS A0         location: 3UR4
Fort Collins, CO 80525              mailto:lovell@xxxxxxxxx  



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