Add shell setup for Android SDK

This commit is contained in:
2018-11-16 10:43:03 +00:00
parent 73c6709435
commit 7d8662546c
2 changed files with 16 additions and 4 deletions

11
zsh/android-sdk.zsh Normal file
View File

@@ -0,0 +1,11 @@
#
# Android SDK environment setup.
#
if [ -d "$HOME/Library/Android/sdk" ]; then
export ANDROID_HOME="$HOME/Library/Android/sdk"
path_append "$ANDROID_HOME/emulator"
path_append "$ANDROID_HOME/tools"
path_append "$ANDROID_HOME/tools/bin"
path_append "$ANDROID_HOME/platform-tools"
fi

View File

@@ -114,13 +114,14 @@ source "$DOTZSH/tmux.zsh"
source "$DOTZSH/less.zsh"
# Development
source "$DOTZSH/android-sdk.zsh"
source "$DOTZSH/docker.zsh"
source "$DOTZSH/golang.zsh"
source "$DOTZSH/google-cloud.zsh"
source "$DOTZSH/kubernetes.zsh"
source "$DOTZSH/nodejs.zsh"
source "$DOTZSH/ruby.zsh"
source "$DOTZSH/rust.zsh"
source "$DOTZSH/golang.zsh"
source "$DOTZSH/docker.zsh"
source "$DOTZSH/google-cloud.zsh"
source "$DOTZSH/kubernetes.zsh"
if [ -f "$DOTPFILES/shellrc.sh" ]; then
source "$DOTPFILES/shellrc.sh"