zshrc: fix fzf history search using preview

This commit is contained in:
Martin Sekera 2024-09-09 11:05:20 +02:00
parent ed0fcfac90
commit 031f739105

View file

@ -103,6 +103,7 @@ pskill () {
# don't follow symlinks due to Wine's love for symlink loops (dosdevices/z: -> /)
export FZF_DEFAULT_OPTS='--walker=file,dir,hidden --preview "bat --style=plain" --bind alt-a:select-all'
export FZF_CTRL_R_OPTS='--preview=""'
source <(fzf --zsh)
# Helix and Neovim launchers