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. 15
      zsh/env.zsh

15
zsh/env.zsh

@ -12,7 +12,16 @@ export PATH="$NODE_HOME/bin/:$PATH"
if [[ -d $HOME/phabricator/ ]]; then if [[ -d $HOME/phabricator/ ]]; then
export PATH="$PATH:$HOME/phabricator/arcanist/bin/" export PATH="$PATH:$HOME/phabricator/arcanist/bin/"
fi fi
export ANDROID_HOME="$HOME/Android/Sdk"
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 PATH="$PATH:$ANDROID_HOME/bin/"
export GOKU_EDN_CONFIG_FILE="$HOME/dotfiles/karabiner/karabiner.edn" 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) eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
fi fi
if [[ -d $HOME/flutter ]]; then
export PATH="$PATH:$HOME/flutter/flutter_sdk/bin"
fi
# if [[ -d ~/.jenv ]]; then # if [[ -d ~/.jenv ]]; then
# # jenv # # jenv
# export PATH="$HOME/.jenv/bin:$PATH" # export PATH="$HOME/.jenv/bin:$PATH"

Loading…
Cancel
Save