update android SDK paths in $PATH

This commit is contained in:
Sami Samhuri 2014-11-14 14:12:17 -08:00
parent 1a09204ab9
commit 53ae7db88f

View file

@ -13,7 +13,7 @@ function is_interactive() { [ -t 1 ] }
# 1. Environment Vars # 1. Environment Vars
# =================== # ===================
custom_paths=(/sbin /usr/sbin /usr/local/bin $HOME/.rbenv/bin /Applications/Xcode.app/Contents/Developer/usr/bin /Applications/Android\ Studio.app/sdk/tools $HOME/bin) custom_paths=(/sbin /usr/sbin /usr/local/bin $HOME/.rbenv/bin /Applications/Xcode.app/Contents/Developer/usr/bin /usr/local/android/tools /usr/local/android/platform-tools $HOME/bin)
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)