update fzf for darwin

This commit is contained in:
Simon Rieger 2025-04-10 20:15:05 +02:00
parent 4ea9a80e36
commit 927415e25f
2 changed files with 6 additions and 18 deletions

View file

@ -1,13 +1,7 @@
# Setup fzf # Setup fzf
# --------- # ---------
if [[ ! "$PATH" == */opt/homebrew/opt/fzf/bin* ]]; then if [[ ! "$PATH" == *{{ .chezmoi.homeDir }}/.fzf/bin* ]]; then
PATH="${PATH:+${PATH}:}/opt/homebrew/opt/fzf/bin" PATH="${PATH:+${PATH}:}{{ .chezmoi.homeDir }}/.fzf/bin"
fi fi
# Auto-completion eval "$(fzf --bash)"
# ---------------
[[ $- == *i* ]] && source "/opt/homebrew/opt/fzf/shell/completion.bash" 2> /dev/null
# Key bindings
# ------------
source "/opt/homebrew/opt/fzf/shell/key-bindings.bash"

View file

@ -1,13 +1,7 @@
# Setup fzf # Setup fzf
# --------- # ---------
if [[ ! "$PATH" == */opt/homebrew/opt/fzf/bin* ]]; then if [[ ! "$PATH" == *{{ .chezmoi.homeDir }}/.fzf/bin* ]]; then
PATH="${PATH:+${PATH}:}/opt/homebrew/opt/fzf/bin" PATH="${PATH:+${PATH}:}{{ .chezmoi.homeDir }}/.fzf/bin"
fi fi
# Auto-completion source <(fzf --zsh)
# ---------------
[[ $- == *i* ]] && source "/opt/homebrew/opt/fzf/shell/completion.zsh" 2> /dev/null
# Key bindings
# ------------
source "/opt/homebrew/opt/fzf/shell/key-bindings.zsh"