Closed zhimsel closed 3 years ago
Hm, this is apparently only happening with completion functions that are based on the older bash completion functions. For instance, on my work machine (MacOS), the _git
completion sources the bash completion for it. However, on my personal Archlinux machine, the completion function is first-class zsh, and doesn't exhibit this behavior.
Some custom (and maybe not custom) completions include files in the current directory when the context isn't relevant to files.