Skip to content

Commit

Permalink
fix(scripts): use batcat instead of bat
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyinzuo committed Apr 14, 2024
1 parent 3ad1802 commit 44d83ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/fzf/fzf.bash
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ rfv() {
--prompt '1. ripgrep> ' \
--delimiter : \
--header 'CTRL-T: Switch between ripgrep/fzf' \
--preview 'bat --color=always {1} --highlight-line {2}' \
--preview 'batcat --color=always {1} --highlight-line {2}' \
--preview-window 'up,60%,border-bottom,+{2}+3/3,~3' \
--bind 'enter:become(vim {1} +{2})'
}
Expand Down

0 comments on commit 44d83ac

Please sign in to comment.