From 85cb556e2e1d336ed615aedf962bed8d993315bf Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Mon, 18 Jul 2011 11:15:31 -0700 Subject: [PATCH] Only include "[a-z]*.bash" files for completion Some people were using case-insensitive filesystems which broke when including simply [a-z]* since it matched the uppercase files. Use this to filter only the actual bash scripts. Change-Id: Ibfdcf2c091a154f0485545537a044667783a19f7 --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index e79fa286f..f1e710161 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -197,7 +197,7 @@ function addcompletions() dir="sdk/bash_completion" if [ -d ${dir} ]; then - for f in ${dir}/[a-z]*; do + for f in ${dir}/[a-z]*.bash; do echo "including $f" . $f done