From: Ruben Beltran del Rio Date: Mon, 18 Apr 2022 13:29:15 +0000 (+0000) Subject: Add fzf autocomplete in ubuntu X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/e4963fae03c4d4403fcca3157bebf5e47ef2010f Add fzf autocomplete in ubuntu --- diff --git a/runcoms/zshrc b/runcoms/zshrc index a18511b..ea7d522 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -51,6 +51,8 @@ export GPG_TTY=$(tty) # FZF Config [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh +[ -f /usr/share/doc/fzf/examples/key-bindings.zsh ] && source /usr/share/doc/fzf/examples/key-bindings.zsh +[ -f /usr/share/doc/fzf/examples/completion.zsh ] && source /usr/share/doc/fzf/examples/completion.zsh export FZF_DEFAULT_COMMAND='/usr/bin/env rg --color never --files --hidden -g \!.git' export FZF_DEFAULT_OPTS='--preview ''bat --style=numbers --color=always {} | head -500'''