14 lines
336 B
Bash
14 lines
336 B
Bash
|
# Setup fzf
|
||
|
# ---------
|
||
|
if [[ ! "$PATH" == */usr/local/opt/fzf/bin* ]]; then
|
||
|
export PATH="${PATH:+${PATH}:}/usr/local/opt/fzf/bin"
|
||
|
fi
|
||
|
|
||
|
# Auto-completion
|
||
|
# ---------------
|
||
|
[[ $- == *i* ]] && source "/usr/local/opt/fzf/shell/completion.zsh" 2> /dev/null
|
||
|
|
||
|
# Key bindings
|
||
|
# ------------
|
||
|
source "/usr/local/opt/fzf/shell/key-bindings.zsh"
|