diff --git a/support-d/.bashrc b/support-d/.bashrc index eb32d36731..59c3f0188e 100644 --- a/support-d/.bashrc +++ b/support-d/.bashrc @@ -64,7 +64,11 @@ export CHARSET="ISO-8859-1" export PS1='\n\[\033[01;31m\]\u@\h\[\033[01;36m\] [\d \@] \[\033[01;33m\] \w\n\[\033[00m\]<\#>:' export PS2="\[\033[1m\]> \[\033[0m\]" if [ -f ~/.viplease ]; then - export VISUAL=vi + if [ -f /usr/bin/vim ]; then + export VISUAL=vim + else + export VISUAL=vi + fi else export VISUAL=emacs fi