refactor(fzf): improve pathing
This commit is contained in:
parent
0ebb8be399
commit
bdbbac0d7d
@ -1,13 +0,0 @@
|
|||||||
# Setup fzf
|
|
||||||
# ---------
|
|
||||||
if [[ ! "$PATH" == */Users/pricehiller/.local/share/fzf/bin* ]]; then
|
|
||||||
PATH="${PATH:+${PATH}:}/Users/pricehiller/.local/share/fzf/bin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Auto-completion
|
|
||||||
# ---------------
|
|
||||||
[[ $- == *i* ]] && source "/Users/pricehiller/.local/share/fzf/shell/completion.bash" 2> /dev/null
|
|
||||||
|
|
||||||
# Key bindings
|
|
||||||
# ------------
|
|
||||||
source "/Users/pricehiller/.local/share/fzf/shell/key-bindings.bash"
|
|
@ -1,13 +1,13 @@
|
|||||||
# Setup fzf
|
# Setup fzf
|
||||||
# ---------
|
# ---------
|
||||||
if [[ ! "$PATH" == */Users/pricehiller/.local/share/fzf/bin* ]]; then
|
if [[ ! "$PATH" == *"${HOME}/.local/share/fzf/bin"* ]]; then
|
||||||
PATH="${PATH:+${PATH}:}/Users/pricehiller/.local/share/fzf/bin"
|
PATH="${PATH:+${PATH}:}${HOME}/.local/share/fzf/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Auto-completion
|
# Auto-completion
|
||||||
# ---------------
|
# ---------------
|
||||||
[[ $- == *i* ]] && source "/Users/pricehiller/.local/share/fzf/shell/completion.zsh" 2> /dev/null
|
[[ $- == *i* ]] && source "${HOME}/.local/share/fzf/shell/completion.zsh" 2> /dev/null
|
||||||
|
|
||||||
# Key bindings
|
# Key bindings
|
||||||
# ------------
|
# ------------
|
||||||
source "/Users/pricehiller/.local/share/fzf/shell/key-bindings.zsh"
|
source "${HOME}/.local/share/fzf/shell/key-bindings.zsh"
|
||||||
|
Loading…
Reference in New Issue
Block a user