From 5e876ee56b7f22fabb3203ebf13da1d094a945eb Mon Sep 17 00:00:00 2001
From: iven <ivenvd@gmail.com>
Date: Sat, 21 Jun 2014 11:57:23 +0800
Subject: [PATCH] Add `android_sdk` plugin

---
 plugins/README.markdown              | 1 +
 plugins/android-sdk/android-sdk.load | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 100644 plugins/android-sdk/android-sdk.load

diff --git a/plugins/README.markdown b/plugins/README.markdown
index 0310504..6467150 100644
--- a/plugins/README.markdown
+++ b/plugins/README.markdown
@@ -1,4 +1,5 @@
 # Plugins
+* __android-sdk__ - [Android SDK](http://developer.android.com/sdk/index.html) integration.
 * __archlinux__ - The Arch Linux Plugins provides a number of plugins to make using arch easier.
 * __autojump__ - makes navigating filesystem much faster. see [autojump article](https://github.com/joelthelion/autojump/wiki) and [video](https://www.youtube.com/watch?v=tnNyoMGnbKg). bindings only, autojump needs to be installed separately.
 * __brew__  [Homebrew](http://brew.sh/) integration
diff --git a/plugins/android-sdk/android-sdk.load b/plugins/android-sdk/android-sdk.load
new file mode 100644
index 0000000..e8e11dc
--- /dev/null
+++ b/plugins/android-sdk/android-sdk.load
@@ -0,0 +1,7 @@
+if test -n "$ANDROID_SDK_ROOT"
+  _append_path $ANDROID_SDK_ROOT/tools
+  _append_path $ANDROID_SDK_ROOT/platform-tools
+else
+  _append_path /opt/android-sdk/tools
+  _append_path /opt/android-sdk/platform-tools
+end
-- 
GitLab