zsh: fix paths in fzf.zsh

This commit is contained in:
2021-05-01 17:14:51 +01:00
parent 52f5c21dd9
commit deecdad163

View File

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