Fzf: Difference between revisions

imported>HLandau
No edit summary
imported>Jeffdik
Add how to enable fzf with fish
Line 21: Line 21:
   source "$(fzf-share)/key-bindings.zsh"
   source "$(fzf-share)/key-bindings.zsh"
fi
fi
</syntaxhighlight>
== fish ==
To enable fzf in zsh, add the following to $HOME/.config/fish/functions/fish_user_key_bindings.fish
<syntaxhighlight lang="fish">
function fish_user_key_bindings
  if command -s fzf-share >/dev/null
    source (fzf-share)/key-bindings.fish
  end
  fzf_key_bindings
end
</syntaxhighlight>
</syntaxhighlight>