From: Brian West Date: Tue, 24 Mar 2015 20:41:03 +0000 (-0500) Subject: more specific X-Git-Tag: v1.4.19~6^2~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b7f8b515b43031b63e1db82e3d265c295f2024b;p=thirdparty%2Ffreeswitch.git more specific --- 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