chore(shell/fzf): use newer --tmux option for fzf

This means the fzf-tmux helper script is no longer needed.
This commit is contained in:
2024-10-27 01:28:17 +01:00
parent 79d1049d93
commit fcbed7dc82

5
zshrc
View File

@@ -123,6 +123,7 @@ compinit
# Setup fzf related stuff if it is available.
if command-exists fzf; then
export FZF_DEFAULT_OPTS="
--tmux 75%
--bind=ctrl-k:kill-line
--bind=ctrl-v:half-page-down
--bind=alt-v:half-page-up
@@ -144,10 +145,6 @@ if command-exists fzf; then
--walker-skip .git,node_modules,.terraform,target
--preview 'tree -C {}'"
export FZF_TMUX=1
export FZF_TMUX_OPTS="-p 75%"
export FZF_TMUX_HEIGHT="100%"
cached-eval "$(command-path fzf)" fzf --zsh
zstyle ':completion:*' menu no