How to configure zsh under Windows to complete foo.exe as foo, for any foo?

46 Views Asked by At

Is there some simple way to configure zsh to use the same completer for foo.exe as for foo itself for any foo? By default this doesn't seem to happen, and so pressing TAB after git.exe uses the default file completion instead of Git-specific command completion, as when pressing TAB after git. I realize I could change this using compdef specifically for git, but is it possible to do it for all commands at once?

0

There are 0 best solutions below