check VIM existence

main
Yax 4 years ago
parent 5fa1e467e0
commit 304119a13f

@ -33,10 +33,12 @@ shopt -s checkwinsize
# EDITOR # EDITOR
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
if [ -f "/usr/bin/vim" ]; then
export EDITOR=/usr/bin/vim export EDITOR=/usr/bin/vim
export SVN_EDITOR=/usr/bin/vim export SVN_EDITOR=/usr/bin/vim
export GIT_EDITOR=/usr/bin/vim export GIT_EDITOR=/usr/bin/vim
export VISUAL=/usr/bin/vim export VISUAL=/usr/bin/vim
fi
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# PROMPT # PROMPT

Loading…
Cancel
Save