aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-04-07 02:50:45 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-04-07 02:50:45 +0200
commit2c8ba0b7c6625b4d2df69f15e82befc9341f70a4 (patch)
tree19f7e85362d3f175638a51fbf9ef61a1e1bae67c /bash
parent64505cb43ca8faa9141aef7ed7d406bb54ad97be (diff)
downloaddotfiles-2c8ba0b7c6625b4d2df69f15e82befc9341f70a4.tar.gz
detect bash completion
Diffstat (limited to 'bash')
-rw-r--r--bash/10-completion.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/10-completion.bash b/bash/10-completion.bash
new file mode 100644
index 0000000..1601a8a
--- /dev/null
+++ b/bash/10-completion.bash
@@ -0,0 +1,3 @@
+if [ -z "$BASH_COMPLETION_VERSINFO" ] && [ -f '/etc/bash_completion' ]; then
+ source '/etc/bash_completion'
+fi