lincheney / fzf-tab-completion

Tab completion using fzf
GNU General Public License v3.0
632 stars 40 forks source link

Do fuzzy completion #13

Closed nkh closed 4 years ago

nkh commented 4 years ago

if a program has option --display_some_data it is not possible to find the option with 'dissd', 'dis' does find the option and all other options starting with 'dis' but the bus stops there.

lincheney commented 4 years ago

That sounds like you have exact match enabled in fzf (the -e or --exact flag). Can you check your fzf options, in particular $FZF_DEFAULT_OPTS and $FZF_COMPLETION_OPTS.

nkh commented 4 years ago

Both are empty, and I use fzf all day long, this is the only place where fuzzy search is not working.

nkh commented 4 years ago

oops! well it seems that I use it all day long via other commands than my own aliased fzf which indeed does have a -e in it.

Checked the environment variables but not the alias. Thanks.