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.
This commit is contained in:
@@ -17,8 +17,14 @@ do
|
|||||||
source $config_file
|
source $config_file
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# TODO: reduce the repetition here by combining these three into a loop
|
||||||
# Tab Completion
|
# 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
|
for config_file in $COMPLETION
|
||||||
do
|
do
|
||||||
source $config_file
|
source $config_file
|
||||||
|
|||||||
Reference in New Issue
Block a user