...to include relative path to user home ($HOME) rather than hard-coded `/home/chawley`
17 lines
362 B
Bash
17 lines
362 B
Bash
# Setup fzf
|
|
# ---------
|
|
if [[ ! "$PATH" == *$HOME/.fzf/bin* ]]; then
|
|
PATH="${PATH:+${PATH}:}$HOME/.fzf/bin"
|
|
fi
|
|
|
|
# Ignore .git directories
|
|
export FZF_DEFAULT_COMMAND="find . \( -name .git \) -prune -o -print"
|
|
|
|
# Auto-completion
|
|
# ---------------
|
|
source "$HOME/.fzf/shell/completion.zsh"
|
|
|
|
# Key bindings
|
|
# ------------
|
|
source "$HOME/.fzf/shell/key-bindings.zsh"
|