add Xcode path at the end

This commit is contained in:
Sami Samhuri 2012-04-28 09:10:17 -07:00
parent c0e7772672
commit a403a83334

5
zshenv
View file

@ -1,9 +1,12 @@
custom_paths=(/sbin /usr/sbin $HOME/bin $HOME/.rbenv/bin /usr/local/android/tools /usr/local/android/platform-tools /Applications/Xcode.app/Contents/Developer/usr/bin) custom_paths=(/sbin /usr/sbin $HOME/bin $HOME/.rbenv/bin /usr/local/android/tools /usr/local/android/platform-tools)
for dir in $custom_paths; do for dir in $custom_paths; do
if [[ -d "$dir" ]]; then if [[ -d "$dir" ]]; then
path=($dir $path) path=($dir $path)
fi fi
done done
if [[ -d /Applications/Xcode.app/Contents/Developer/usr/bin ]]; then
path=($path /Applications/Xcode.app/Contents/Developer/usr/bin)
fi
export path export path
typeset -U path typeset -U path