diff options
author | Chirayu Desai <cdesai@cyanogenmod.org> | 2013-03-16 20:00:17 +0530 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-06 16:12:10 -0700 |
commit | 20a6137332e6bac499be182ea8613eb9435a5026 (patch) | |
tree | 5aa377f2d4c347809cb9cb93af10199a93488a1d /envsetup.sh | |
parent | a55b056c820a324d441b2b60c80197f38f9c1b78 (diff) | |
download | build-20a6137332e6bac499be182ea8613eb9435a5026.zip build-20a6137332e6bac499be182ea8613eb9435a5026.tar.gz build-20a6137332e6bac499be182ea8613eb9435a5026.tar.bz2 |
envsetup: include bash completion script from vendor/cm
Change-Id: Id90d84748df41d6626dfd46befabe0054c6d14e7
Diffstat (limited to 'envsetup.sh')
-rw-r--r-- | envsetup.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/envsetup.sh b/envsetup.sh index fcb8ec6..05035be 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -308,13 +308,15 @@ function addcompletions() return fi - dir="sdk/bash_completion" + dirs="sdk/bash_completion vendor/cm/bash_completion" + 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() |