From bc00a718e71ed4a89bad53708227863a273acbf9 Mon Sep 17 00:00:00 2001 From: andre Date: Wed, 7 Oct 2009 12:15:35 +0000 Subject: [PATCH] Support for mvim on OS X --- zshrc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/zshrc b/zshrc index e4ec729..6a8ae60 100644 --- a/zshrc +++ b/zshrc @@ -6,6 +6,7 @@ # # Global Order: zshenv, zprofile, zshrc, zlogin # $Id$ +# $HeadURL$ setopt ALWAYS_TO_END setopt APPEND_HISTORY @@ -149,11 +150,12 @@ fi if [ `uname -s` = "Darwin" ]; then export LSCOLORS="GxgxcxdxCxegedabagacad" # Alias for editors on OSX - alias vim='/Applications/MacVim.app/Contents/MacOS/Vim' - alias aquamacs='open -a Aquamacs\ Emacs' - alias ldd='otool -L' - alias ls='ls -F -G' - alias skill=killall + alias mvim = 'mvim --remote-tab-silent' + alias vim = mvim + alias aquamacs = 'open -a Aquamacs\ Emacs' + alias ldd = 'otool -L' + alias ls = 'ls -F -G' + alias skill = killall alias lsrebuild='/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user' if [ -f /opt/local/etc/init.sh ]; then