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

Re: Adding a prefix to certain filename completions



William Scott wrote:

> I don't think this is a completion issue.

I know that the completion system can be made to suit this need.
Filenames beginning with a = are escaped properly with the right
settings.

> In any case, this works:
> 
> function vim { command vim ./"$@" }

That will definitely not work.  Specifically it won’t work for multiple
file arguments (or options for that matter),
        nikolai

-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}



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