fzf-tab
fzf-tab copied to clipboard
[Q] How to make `fzf-tab` respect options from `FZF_DEFAULT_OPTS_FILE`?
Hi, I have the following in my $FZF_DEFAULT_OPTS_FILE:
--border=double
--preview-window=border-double
And this in my .zshrc:
# -- snip --
zinit light Aloxaf/fzf-tab
zinit snippet OMZP::fzf
zstyle ':fzf-tab:complete:*' fzf-preview " [[ -d \$realpath ]] && eza $(tr -s '\n' ' ' < $EZA_DEFAULT_OPTS_FILE) -1a --color=always --ignore-glob '.DS_Store|.idea|.vscode' \$realpath || bat --style=numbers --color=always \$realpath"
The options for fzf work just fine with the regular commands such as ctrl+t, shown below:
However, when pressing the tab key, we can see that the preview window's border is different:
This leaves me with the question - what should I do to make fzf-tab respect the options from their configuration file?
Thanks in advance for the response!