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.pull/63/head
parent
972d58f9c5
commit
e115b4c5af
|
|
@ -17,8 +17,14 @@ do
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue