From 427b09c2d768d45a142efacd141f5ff7ffda8b6f Mon Sep 17 00:00:00 2001 From: David Chen Date: Mon, 2 Dec 2019 16:03:06 -0800 Subject: [PATCH] bat -> ccat --- zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/zshrc b/zsh/zshrc index 59100ac..4f12fbc 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -83,7 +83,7 @@ zle -N zle-keymap-select KEYTIMEOUT=1 # fzf -export FZF_DEFAULT_OPTS='--bind ctrl-e:down,ctrl-u:up --preview "[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (bat --style=numbers --color=always {} || highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null | head -500"' +export FZF_DEFAULT_OPTS='--bind ctrl-e:down,ctrl-u:up --preview "[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (ccat --color=always {} || highlight -O ansi -l {} || coderay {} || rougify {} || cat {}) 2> /dev/null | head -500"' export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""' export FZF_COMPLETION_TRIGGER='\' export FZF_TMUX_HEIGHT='80%'