From b4f5a2131121e35446f87e51a2407fdc1a44050d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Fri, 15 Apr 2011 18:03:21 +0200 Subject: [PATCH] --tab-silent already does what the complex rule did; remove that --- profile_machine/darwin | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/profile_machine/darwin b/profile_machine/darwin index 78396c3..1187238 100644 --- a/profile_machine/darwin +++ b/profile_machine/darwin @@ -4,7 +4,7 @@ # my exports # -export PATH=/opt/local/sbin:/opt/local/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin:/opt/local/Library/Frameworks/Python.framework/Versions/3.1/bin:$PATH +export PATH=/opt/local/sbin:/opt/local/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin:/opt/local/Library/Frameworks/Python.framework/Versions/3.1/bin:/opt/local/lib/mysql5/bin:$PATH export EDITOR="/opt/local/bin/mvim -f" export VIM_APP_DIR=/Applications/MacPorts/ export QTDIR=/opt/local/lib/qt3 @@ -41,8 +41,7 @@ function vim { FILE_SPECIFIED=1 fi done - if [[ $FILE_SPECIFIED -eq 1 ]] && - [[ ! -z `ps axu | grep "[M]acVim" | grep XO` ]]; then + if [[ $FILE_SPECIFIED -eq 1 ]]; then mvim -XO1 --remote-tab-silent $@ else mvim -XO1 $@