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

Re: Adding a prefix to certain filename completions



Nikolai Weibull wrote:
> Vim has issues with files that begin with a + (or two +s for that
> matter), so I'd like to add a ./ prefix to such files when completing.
> I thought I knew how to do this, but alas I do not.  Anyone that does?

Not knowing the zsh answer, I would add a "--" once before the
"strange" file name:
vim -- +myfile
Should help...

Ciao,
Thomas

-- 
 Thomas Köhler       Email:       jean-luc@xxxxxxxxxxxxxxxxx
     <><             WWW:              http://gott-gehabt.de
                     IRC:                           tkoehler
                     PGP public key available from Homepage!

Attachment: signature.asc
Description: Digital signature



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