[fzf] Change default colors

This commit is contained in:
Daniel Carrillo 2022-04-09 13:10:48 +02:00
parent 0ca5da2a4f
commit 555b911467
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
1 changed files with 4 additions and 1 deletions

5
.zshrc
View File

@ -102,7 +102,10 @@ kexec () {
}
export FZF_DEFAULT_COMMAND="fd --type f --follow -I"
export FZF_DEFAULT_OPTS="-m --reverse --bind 'ctrl-o:execute(xdg-open {})+abort,ctrl-e:execute({})+abort,ctrl-y:execute(echo {} | xclip -selection clipboard -in)+abort'"
export FZF_DEFAULT_OPTS="-m --reverse \
--color 'info:#00AAFF,prompt:#FFFFFF,pointer:#00AAFF,hl:#1AE51A,hl+:#1AE51A' \
--tabstop=4 \
--bind 'ctrl-o:execute(xdg-open {})+abort,ctrl-e:execute({})+abort,ctrl-y:execute(echo {} | xclip -selection clipboard -in)+abort'"
export FZF_CTRL_T_OPTS="--no-height --preview '[[ \$(file --mime {}) =~ binary ]] && echo {} is a binary file || pygmentize {} 2> /dev/null | head -500'"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"