mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
check VIM existence
This commit is contained in:
@@ -33,10 +33,12 @@ shopt -s checkwinsize
|
||||
# EDITOR
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
if [ -f "/usr/bin/vim" ]; then
|
||||
export EDITOR=/usr/bin/vim
|
||||
export SVN_EDITOR=/usr/bin/vim
|
||||
export GIT_EDITOR=/usr/bin/vim
|
||||
export VISUAL=/usr/bin/vim
|
||||
fi
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# PROMPT
|
||||
|
||||
Reference in New Issue
Block a user