Permalink
Browse files

Tidy up the PATH var

  • Loading branch information...
1 parent 56b0343 commit b0773d15da70c6bae6a276fd239e6db6cacca80d Jeffry Ghazally committed Jan 27, 2014
Showing with 29 additions and 4 deletions.
  1. +29 −4 zshrc
View
33 zshrc
@@ -51,13 +51,38 @@ export LESS=' -RFX '
[[ -s "$HOME/.z.sh" ]] && source "$HOME/.z.sh"
-[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
[[ -e $HOME/dotfiles/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh ]] && source $HOME/dotfiles/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')
-export PATH=/Developer/usr/bin:~/.pythonbrew/bin:/opt/local/bin:/opt/local/sbin:$HOME/bin:$HOME/dotfiles/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Developer/usr/bin:$HOME/pear/bin:/usr/local/sbin:$HOME/.rvm.bin
-PATH="/Applications/MAMP/bin/php/php5.3.6/bin/share/pear:/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php/php5.3.6/bin:$HOME/.rvm/gems/ruby-1.9.2-p320/bin:$HOME/.rvm/gems/ruby-1.9.3-p194/bin:$PATH"
-PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
+# Standard and System binaries
+export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
+
+# XCode build tools
+PATH+=:/Developer/usr/bin
+
+# Pythonbrew
+PATH+=:~/.pythonbrew/bin
+
+# MacPorts
+PATH+=:/opt/local/bin:/opt/local/sbin
+
+# X11 ? Do I even use X11?
+PATH+=:/usr/X11/bin:$HOME/pear/bin
+
+# MAMP Madness (should really clean this up)
+PATH+=:/Applications/MAMP/bin/php/php5.3.6/bin/share/pear:/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php/php5.3.6/bin
+
+# rvm
+PATH+=:$HOME/.rvm/gems/ruby-1.9.2-p320/bin:$HOME/.rvm/gems/ruby-1.9.3-p194/bin
+PATH+=:$HOME/.rvm/bin
+
+# Will begin moving there into better spot at somepoint~
+PATH+=:$HOME/bin:$HOME/dotfiles/
+
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
+
+#PATH=/Developer/usr/bin:~/.pythonbrew/bin:/opt/local/bin:/opt/local/sbin:$HOME/bin:$HOME/dotfiles/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Developer/usr/bin:$HOME/pear/bin:/usr/local/sbin:$HOME/.rvm.bin:/Applications/MAMP/bin/php/php5.3.6/bin/share/pear:/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php/php5.3.6/bin:$$HOME/.rvm/gems/ruby-1.9.2-p320/bin:$HOME/.rvm/gems/ruby-1.9.3-p194/bin:$PATH
+

0 comments on commit b0773d1

Please sign in to comment.