trying to get bat to preview in fzf

This commit is contained in:
Russell Riker 2023-04-19 16:09:21 -04:00
parent 3765e4a16e
commit c0c4f82639
1 changed files with 1 additions and 1 deletions

View File

@ -68,5 +68,5 @@ then
alias sudo="echo 'Wrong machine butt head'"
fi
alias pf="fzf --preview='bat --style=numbers --color=always --line-range :500 {}' --bind shift-up:preview-page-up,shift-down:preview-page-down"
alias pf="fzf --preview='batcat -n {}' --bind shift-up:preview-page-up,shift-down:preview-page-down"
alias sd="cd ~ && cd \$(find * -type d | fzf)"