From e4963fae03c4d4403fcca3157bebf5e47ef2010f Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 18 Apr 2022 13:29:15 +0000 Subject: Add fzf autocomplete in ubuntu --- runcoms/zshrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runcoms') 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''' -- cgit