Skip to content

Instantly share code, notes, and snippets.

@ziimiin14
Created July 13, 2023 04:51
Show Gist options
  • Save ziimiin14/5cbe407ca6e1a26e2dd77a8140afdfe1 to your computer and use it in GitHub Desktop.
Save ziimiin14/5cbe407ca6e1a26e2dd77a8140afdfe1 to your computer and use it in GitHub Desktop.
fzf zsh script
# Setup fzf
# ---------
if [[ ! "$PATH" == */opt/homebrew/opt/fzf/bin* ]]; then
PATH="${PATH:+${PATH}:}/opt/homebrew/opt/fzf/bin"
fi
# Auto-completion
# ---------------
[[ $- == *i* ]] && source "/opt/homebrew/opt/fzf/shell/completion.zsh" 2> /dev/null
# Key bindings
# ------------
source "/opt/homebrew/opt/fzf/shell/key-bindings.zsh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment