Fzf: Fuzzy completion example from wiki is not working

Created on 1 Nov 2017  路  3Comments  路  Source: junegunn/fzf

  • Category

    • [ ] fzf binary

    • [ ] fzf-tmux script

    • [ ] Key bindings

    • [x] Completion

    • [ ] Vim

    • [ ] Neovim

    • [ ] Etc.

  • OS

    • [ ] Linux

    • [ ] Mac OS X

    • [ ] Windows

    • [ ] Windows Subsystem for Linux

    • [ ] Etc.

  • Shell

    • [x] bash

    • [ ] zsh

    • [ ] fish

I'm trying to define custom shell completion using example from wiki, and it doesn't work from me. I've put the definition of _fzf_complete_doge and complete -F _fzf_complete_doge -o default -o bashdefault doge in a script and sourced it. But when I try doge <TAB> (or doge **<TAB>) I get default bash path completion. This is GNU bash, version 4.3.48(1)-release.

Most helpful comment

I'm having the same issue.

I use brew to install fzf and I do follow each instruction of the /usr/local/opt/fzf/install.

The ** trigger just doesn't work. I'm using the 4.4.12 bash version and the iterm2.

All 3 comments

I'm having the same issue.

I use brew to install fzf and I do follow each instruction of the /usr/local/opt/fzf/install.

The ** trigger just doesn't work. I'm using the 4.4.12 bash version and the iterm2.

I'm having the same issue only Im using ZSH w/ various terminal emulators

I had the same problem by installing with a package manager. Then I solved the problem by explicitly sourcing the completion shell file in my shell-rc file.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

firedev picture firedev  路  3Comments

skamsie picture skamsie  路  3Comments

fenuks picture fenuks  路  3Comments

ghost picture ghost  路  3Comments

leonklingele picture leonklingele  路  3Comments