Created
March 16, 2013 14:26
-
-
Save chirayudesai/5176599 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/envsetup.sh b/envsetup.sh | |
index 205e3b0..e808f90 100644 | |
--- a/envsetup.sh | |
+++ b/envsetup.sh | |
@@ -270,13 +270,15 @@ function addcompletions() | |
return | |
fi | |
- dir="sdk/bash_completion" | |
+ dirs="sdk/bash_completion vendor/cm" | |
+ for dir in $dirs; do | |
if [ -d ${dir} ]; then | |
for f in `/bin/ls ${dir}/[a-z]*.bash 2> /dev/null`; do | |
echo "including $f" | |
. $f | |
done | |
fi | |
+ done | |
} | |
function choosetype() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment