diff options
Diffstat (limited to 'bash/completion.bash')
-rw-r--r-- | bash/completion.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/completion.bash b/bash/completion.bash index 764463e..2b3ca37 100644 --- a/bash/completion.bash +++ b/bash/completion.bash | |||
@@ -2,14 +2,14 @@ | |||
2 | # Source bash completion libraries | 2 | # Source bash completion libraries |
3 | 3 | ||
4 | POSSIBLE_COMPLETION_FILES=( | 4 | POSSIBLE_COMPLETION_FILES=( |
5 | /etc/bash_completion # Debian | 5 | /etc/bash_completion # Debian |
6 | /etc/profile.d/bash_completion.sh # Alpine | 6 | /etc/profile.d/bash_completion.sh # Alpine |
7 | # I'm sure there are many more | 7 | # I'm sure there are many more |
8 | /usr/share/bash-completion/bash_completion | ||
8 | ) | 9 | ) |
9 | 10 | ||
10 | for candidate in "${POSSIBLE_COMPLETION_FILES[@]}"; do | 11 | for candidate in "${POSSIBLE_COMPLETION_FILES[@]}"; do |
11 | if [[ -r "$candidate" ]]; then | 12 | if [[ -r "$candidate" ]]; then |
12 | source "$candidate" | 13 | source "$candidate" |
13 | break # XXX: Do I want this? | ||
14 | fi | 14 | fi |
15 | done | 15 | done |