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