$HOME replacement in fzf zsh file.

This commit is contained in:
Joachim Nielandt 2020-07-19 21:11:36 +02:00
parent 7a81f08af3
commit 321a04e539

View File

@ -1,13 +1,13 @@
# Setup fzf # Setup fzf
# --------- # ---------
if [[ ! "$PATH" == */home/jnieland/.fzf/bin* ]]; then if [[ ! "$PATH" == */$HOME/.fzf/bin* ]]; then
export PATH="${PATH:+${PATH}:}/home/jnieland/.fzf/bin" export PATH="${PATH:+${PATH}:}/$HOME/.fzf/bin"
fi fi
# Auto-completion # Auto-completion
# --------------- # ---------------
[[ $- == *i* ]] && source "/home/jnieland/.fzf/shell/completion.zsh" 2> /dev/null [[ $- == *i* ]] && source "$HOME/.fzf/shell/completion.zsh" 2> /dev/null
# Key bindings # Key bindings
# ------------ # ------------
source "/home/jnieland/.fzf/shell/key-bindings.zsh" source "$HOME/.fzf/shell/key-bindings.zsh"