From 460edb35936c246c47b7ecc91676263a05d1a13e Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 14 May 2025 16:42:35 -0500 Subject: [PATCH] ZSH: fix fzf initialization --- home/.config/zsh/03-plugins.zsh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/home/.config/zsh/03-plugins.zsh b/home/.config/zsh/03-plugins.zsh index 1a482711..1712bf54 100644 --- a/home/.config/zsh/03-plugins.zsh +++ b/home/.config/zsh/03-plugins.zsh @@ -35,16 +35,7 @@ zinit ice lucid atinit'zpcompinit' zinit light zdharma-continuum/fast-syntax-highlighting # use fzf with zsh -{%@@ if distro_id == "termux" @@%} -source $PREFIX/share/fzf/key-bindings.zsh -source $PREFIX/share/fzf/completion.zsh -{%@@ elif distro_id == "debian" @@%} -source /usr/share/doc/fzf/examples/key-bindings.zsh -source /usr/share/doc/fzf/examples/completion.zsh -{%@@ else @@%} -source /usr/share/fzf/key-bindings.zsh -source /usr/share/fzf/completion.zsh -{%@@ endif @@%} +source <(fzf --zsh) # Generate completions at runtime zinit ice wait'2' lucid