Move auto-complete code over to available -> enabled style
This continues the move toward the ability to turn things off with
everything turned on by default.
diff --git a/bash_it.sh b/bash_it.sh
index b52ff97..68f3884 100644
--- a/bash_it.sh
+++ b/bash_it.sh
@@ -17,8 +17,14 @@
source $config_file
done
+# TODO: reduce the repetition here by combining these three into a loop
# Tab Completion
-COMPLETION="${BASH}/completion/*.bash"
+if [ ! -d "${BASH}/completion/enabled" ]
+then
+ mkdir "${BASH}/completion/enabled"
+ ln -s ${BASH}/completion/available/* "${BASH}/completion/enabled"
+fi
+COMPLETION="${BASH}/completion/enabled/*.bash"
for config_file in $COMPLETION
do
source $config_file