lincheney / fzf-tab-completion

Tab completion using fzf
GNU General Public License v3.0
652 stars 41 forks source link

Having a lot of strange underscore things when using command completion #12

Closed alexshelkov closed 4 years ago

alexshelkov commented 4 years ago

For example if I type ifconfig[TAB] I will see this:

image

And all other commands have same underscore equivalents.

lincheney commented 4 years ago

I assume you are using zsh. Do you have approximate completion turned on? That might be causing those ones to turn up. ie something like this in your ~/.zshrc

zstyle ':completion:*' completer _complete _approximate
zstyle ':completion:*' max-errors 1

The underscore ones in zsh are valid, but I agree not usually what you want.

alexshelkov commented 4 years ago

Thx for response, but I have to move to other solution, so I can't re-try it now. (But you are correct it was ZSH)