Skip to content

Instantly share code, notes, and snippets.

@devilelephant
Last active June 3, 2024 20:14
Show Gist options
  • Save devilelephant/78df62602ebc078f2b93b43e862c7df8 to your computer and use it in GitHub Desktop.
Save devilelephant/78df62602ebc078f2b93b43e862c7df8 to your computer and use it in GitHub Desktop.
Fix fzf "**" not working in zsh

Fix fzf "**" not working in my zsh config

In my .zshrc file I had the appropriate command:

 source <(fzf --zsh)

And the keybindings worked but the "**" completion did not.

Turns out that setting the terminal to vi mode by default after the fzf command reset that completion

 set -o vi

So the fix? Lol, just put the set -o vi at the top of the file, before my fzf config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment