fzf changes

This commit is contained in:
Bartek Stalewski 2020-10-01 15:07:53 +02:00
parent 85634242d4
commit e8225e8106

View File

@ -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() {