Permalink
Browse files

use mvim if on OSX

  • Loading branch information...
1 parent 8162ba4 commit bf9cbe33f9f61c29af71b52c57df0ab8c7b9a890 @wilsaj committed Jul 19, 2012
Showing with 8 additions and 4 deletions.
  1. +8 −4 custom/wilsaj.zsh
View
@@ -1,10 +1,10 @@
# My custom zsh stuff
# special cases for Ubuntu
-if [[ -n `uname -a | grep Ubuntu` ]]; then
- export VIRTUALENV_DIR=/usr/local/bin/
- else
+if [[ -n `uname -a | grep Arch` ]]; then
export VIRTUALENV_DIR=/usr/bin/
+ else
+ export VIRTUALENV_DIR=/usr/local/bin/
fi
# make virtualenvs work with EPD
@@ -36,7 +36,11 @@ alias mmv='noglob zmv -W'
export TERM='rxvt-unicode'
# editor
-export EDITOR='gvim'
+if [[ `uname` == 'Darwin' ]]; then
+ export EDITOR='mvim'
+ else
+ export EDITOR='gvim'
+fi
# Make python2 the explicit python of choice (for now)
export PYTHON=${PYTHON}

0 comments on commit bf9cbe3

Please sign in to comment.