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

Re: PATCH: tricky.c and completion functions



On Aug 14, 12:14am, Tanaka Akira wrote:
} Subject: Re: PATCH: tricky.c and completion functions
}
} Hm.
} 
} -  file=( /usr/{lib,{{X11R6,openwin},local{,/X11{,R6}}}/lib}/X11/rgb.txt )
} +  file=( /usr/{lib,{{X11R6,openwin},local{,/X11{,R6}}}/lib}/X11/rgb.txt(N) )

That (N) shouldn't be necessary -- brace expansion does not test for the
exsistence of any files, it just pastes together the strings in all the
possible combinations.  Did it actually fail for you somehow?

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



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