From 9b7f8b515b43031b63e1db82e3d265c295f2024b Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 24 Mar 2015 15:41:03 -0500 Subject: [PATCH] more specific --- support-d/.bashrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.47.2