Skip to content
Browse files

Force shell environment for vim

  • Loading branch information...
1 parent 4446fee commit e0e19cfeff13f8bc99d8164217ddd84c6d7f9529 @simeonwillbanks committed Apr 3, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 zshrc
View
7 zshrc
@@ -40,3 +40,10 @@ export PATH=/usr/local/bin:$HOME/.rbenv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X
if [[ -d ~/.rbenv ]]; then
eval "$(rbenv init -)"
fi
+
+# @see http://vim.1045645.n5.nabble.com/MacVim-and-PATH-tt3388705.html#a3392363
+# Ensure MacVim has same shell as Terminal
+if [[ -a /etc/zshenv ]]; then
+ sudo mv /etc/zshenv /etc/zprofile
+fi
+

0 comments on commit e0e19cf

Please sign in to comment.
Something went wrong with that request. Please try again.