Lines 39-46
Link Here
|
39 |
|
39 |
|
40 |
# Alter the following to reflect the location of this file. |
40 |
# Alter the following to reflect the location of this file. |
41 |
# |
41 |
# |
42 |
[ -n "$BASH_COMPLETION" ] || BASH_COMPLETION=/etc/bash_completion |
42 |
# Don't try to redefine readonly variables |
43 |
[ -n "$BASH_COMPLETION_DIR" ] || BASH_COMPLETION_DIR=/etc/bash_completion.d |
43 |
if [[ -z ${BASH_COMPLETION} ]]; then |
|
|
44 |
BASH_COMPLETION="${BASH_COMPLETION:-/usr/share/bash-completion/base}" |
45 |
fi |
46 |
if [[ -z ${BASH_COMPLETION_DIR} ]]; then |
47 |
BASH_COMPLETION_DIR="${BASH_COMPLETION_DIR:=/etc/bash_completion.d}" |
48 |
fi |
44 |
readonly BASH_COMPLETION BASH_COMPLETION_DIR |
49 |
readonly BASH_COMPLETION BASH_COMPLETION_DIR |
45 |
|
50 |
|
46 |
# Set a couple of useful vars |
51 |
# Set a couple of useful vars |