zhimsel / dotfiles

My config files
16 stars 0 forks source link

zsh completions including files when they shouldn't #32

Closed zhimsel closed 3 years ago

zhimsel commented 4 years ago

Some custom (and maybe not custom) completions include files in the current directory when the context isn't relevant to files.

zhimsel commented 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.