Alexei Alexandrov wrote:
Hi A.J.Mechelynck, you wrote:
[...]
Similarly on the command-line: gvim foobar.* should ignore it

I believe the expansion will be done by command shell and doesn't know anything 
about 'wildignore' so Vim will get just list of files.


Hm., yes, a Unix shell (*sh) would expand the wildcards but IIUC an MS-DOS shell (COMMAND.COM, cmd.exe, ...) wouldn't. Maybe on Unix-like systems 'wildignore' files should be pruned from a list of files seen as command-line arguments, provided that it doesn't make the list empty. I'm not sure though. You could always invoke "vim foobar.\*" to force the shell to pass the wildcard unexpanded IIUC.


Best regards,
Tony.
--
Encyclopedia Salesmen:
        Invite them all in.  Nip out the back door.  Phone the police
and tell them your house is being burgled.
                -- Mike Harding, "The Armchair Anarchist's Almanac"

Reply via email to