From bd47046b6602b7d5c02b7406dfaa9a665b4acd76 Mon Sep 17 00:00:00 2001 From: User Date: Sun, 25 Oct 2009 21:03:44 +0530 Subject: [PATCH] updating vim stuff --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 5f44899..1e8ce77 100644 --- a/.zshrc +++ b/.zshrc @@ -78,7 +78,7 @@ else export PERL5LIB=$PERL5LIB:~/local/lib/perl5:~/local/lib/perl5/site_perl fi -if [ -x `which vim` ] ; then +if [ -n "`which vim`" ] ; then export VISUAL=vim export EDITOR=vim if [ -n "$DISPLAY" ] ; then