Closed dyegoe closed 1 month ago
If I have only in my zshrc the following
zstyle ':completion::*:ls::*' fzf-completion-opts --preview='eval head {1}' --tmux bottom
autoload -Uz compinit
compinit -C
source ~/.fzf/shell/completion.zsh
source ~/repos/fzf-tab-completion/fzf-zsh-completion.zsh
Then the preview shows up fine for me. It also works even if I put in the other FZF env vars that you listed. So I am not sure what is happening for you.
Thank you for getting back to me.
Since you ensured that it is working from your side, I dug a bit more and just realised that I had an alias ls = eza --icons --git
.
So, instead of zstyle ':completion::*:ls::*' fzf-completion-opts --preview='eval head {1}' --tmux bottom
it must be zstyle ':completion::*:eza::*' fzf-completion-opts --preview='eval head {1}' --tmux bottom
Hi
I added to my dotfiles, the following:
zstyle ':completion::*:ls::*' fzf-completion-opts --preview='eval head {1} --tmux bottom'
If I hit
ls <tab>
the fzf opens, but without preview. Any idea what am I missing?By the way, the previous works for:
I am running it on Linux