Fzf: Difference between revisions

Granddave (talk | contribs)
m Add links to Zsh, Fish and add Shell category
Granddave (talk | contribs)
m Capitalize shells and make config paths look similar
Line 7: Line 7:
First install <code>fzf</code> in your profile, then use one of the following methods:
First install <code>fzf</code> in your profile, then use one of the following methods:


== bash ==
== Bash ==
To enable fzf in bash add the following line to .bashrc
To enable fzf in bash add the following line to <code>$HOME/.bashrc</code>


<syntaxhighlight lang="bash">eval "$(fzf --bash)"</syntaxhighlight>
<syntaxhighlight lang="bash">eval "$(fzf --bash)"</syntaxhighlight>


== zsh ==
== Zsh ==
To enable fzf in [[zsh]] add the following line to .zshrc
To enable fzf in [[zsh]] add the following line to <code>$HOME/.zshrc</code>


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 19: Line 19:
</syntaxhighlight>
</syntaxhighlight>


== fish ==
== Fish ==
To enable fzf in [[fish]], add the following to $HOME/.config/fish/functions/fish_user_key_bindings.fish
To enable fzf in [[fish]], add the following to <code>$HOME/.config/fish/functions/fish_user_key_bindings.fish</code>


<syntaxhighlight lang="fish">
<syntaxhighlight lang="fish">