about summary refs log tree commit diff stats
path: root/bash/completion.bash
diff options
context:
space:
mode:
authorCase Duckworth2023-04-16 17:06:22 -0500
committerCase Duckworth2023-04-16 17:06:22 -0500
commit3b177d8c95f70db8e27fd046711f480e81ea3fa7 (patch)
tree078459e4b3ae19c9978a12ea24ade3d336f2345a /bash/completion.bash
parentAdd a bunch of stuff (diff)
downloadetc-3b177d8c95f70db8e27fd046711f480e81ea3fa7.tar.gz
etc-3b177d8c95f70db8e27fd046711f480e81ea3fa7.zip
uhhhh
Diffstat (limited to 'bash/completion.bash')
-rw-r--r--bash/completion.bash4
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
4POSSIBLE_COMPLETION_FILES=( 4POSSIBLE_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
10for candidate in "${POSSIBLE_COMPLETION_FILES[@]}"; do 11for 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
15done 15done