From 031f739105918f944ef055d12a34eb8d28badb40 Mon Sep 17 00:00:00 2001 From: Martin Sekera Date: Mon, 9 Sep 2024 11:05:20 +0200 Subject: [PATCH] zshrc: fix fzf history search using preview --- etc/zsh/zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 307fbfe..c91c2e5 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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