From e8225e81064a6ca5fa9fcadace480d42f093dd0f Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Thu, 1 Oct 2020 15:07:53 +0200 Subject: [PATCH] fzf changes --- zsh/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index b3b7eb0..1aa51a9 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -8,8 +8,8 @@ export CLICOLOR=1 alias ll='ls -lh' [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh -export FZF_DEFAULT_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H' -export FZF_CTRL_T_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H' +export FZF_DEFAULT_COMMAND='fd -H' +export FZF_CTRL_T_COMMAND='fd -H' export FZF_DEFAULT_OPTS="--cycle -e --layout=reverse --height=40% --preview='bat --color=always --tabs=2 --style=plain --theme=\"Monokai Extended\" {}'" export FZF_CTRL_R_OPTS="--cycle -e --layout=reverse --height=40% --preview=''" _fzf_compgen_path() {