Browse Source

Update env.sh add android path

ubuntu_ci
Ein Verne 3 years ago
parent
commit
ddb0dede3e
No known key found for this signature in database
GPG Key ID: 926634D64ACAD792
  1. 13
      zsh/env.zsh

13
zsh/env.zsh

@ -12,7 +12,16 @@ export PATH="$NODE_HOME/bin/:$PATH"
if [[ -d $HOME/phabricator/ ]]; then
export PATH="$PATH:$HOME/phabricator/arcanist/bin/"
fi
case $OSTYPE in
darwin*)
export ANDROID_HOME="$HOME/Library/Android/sdk"
;;
linux*)
export ANDROID_HOME="$HOME/Android/Sdk"
;;
esac
export PATH="$PATH:$ANDROID_HOME/bin/"
export GOKU_EDN_CONFIG_FILE="$HOME/dotfiles/karabiner/karabiner.edn"
@ -34,6 +43,10 @@ if [[ -d /home/linuxbrew/.linuxbrew ]]; then
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
fi
if [[ -d $HOME/flutter ]]; then
export PATH="$PATH:$HOME/flutter/flutter_sdk/bin"
fi
# if [[ -d ~/.jenv ]]; then
# # jenv
# export PATH="$HOME/.jenv/bin:$PATH"

Loading…
Cancel
Save