Remove unused config file
This commit is contained in:
parent
7b6c95eadb
commit
58440a10e0
27
bash/fzf
27
bash/fzf
|
@ -1,27 +0,0 @@
|
||||||
local fzf_path="/usr/local/opt/fzf"
|
|
||||||
if [[ ! -d "$fzf_path" && -d "$HOME/.fzf" ]]; then
|
|
||||||
fzf_path="$HOME/.fzf"
|
|
||||||
else
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Setup fzf
|
|
||||||
# ---------
|
|
||||||
if [[ ! "$PATH" == *$fzf_path/bin* ]]; then
|
|
||||||
export PATH="$PATH:$fzf_path/bin"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Man path
|
|
||||||
# --------
|
|
||||||
if [[ ! "$MANPATH" == *$fzf_path/man* && -d "$fzf_path/man" ]]; then
|
|
||||||
export MANPATH="$MANPATH:$fzf_path/man"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Auto-completion
|
|
||||||
# ---------------
|
|
||||||
[[ $- == *i* ]] && source "$fzf_path/shell/completion.bash" 2> /dev/null
|
|
||||||
|
|
||||||
# Key bindings
|
|
||||||
# ------------
|
|
||||||
source "$fzf_path/shell/key-bindings.bash"
|
|
||||||
|
|
Loading…
Reference in a new issue