From 223b768911de55e17812586ff7ce013a4f99bc43 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Fri, 5 Jan 2018 23:30:08 -0800 Subject: [PATCH] Add android development stuff --- .gitignore | 2 ++ dotfiles/zshrc | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/.gitignore b/.gitignore index 1c8d4bb..edc60b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +gitconfig +.gitconfig *.swp *.swo *~ diff --git a/dotfiles/zshrc b/dotfiles/zshrc index bf927d6..bd3476e 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -94,6 +94,14 @@ if [[ "$OSTYPE" == "darwin"* ]]; then fi fi +# Android stuff - I develop android on Linux so these are specific to how I have it laid out in Linux +if [[ "$OSTYPE" == "linux-gnu" ]]; then + export PATH=/opt/android-studio:$PATH + export ANDROID_HOME=$HOME/Android/Sdk + export PATH=$PATH:$ANDROID_HOME/tools + export PATH=$PATH:$ANDROID_HOME/platform-tools +fi + precmd(){ vcs_info