summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-31 16:50:02 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-31 16:50:02 +0100
commitd72f79c7ca6c92e8b401307e03f0020eb3ca01e4 (patch)
treea43f3f39bd3fe13dcf69de9e7b958815bcab1720
parente0e5a034cb60ca9b841b92afa9f179c4aff56a22 (diff)
Add bash-completion to bashrc
-rw-r--r--.bashrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 88eff3a..489f7ab 100644
--- a/.bashrc
+++ b/.bashrc
@@ -77,6 +77,12 @@ if [ -d "$HOME/.local/bin" ]; then
fi
# ==== END ANSIBLE PATH CONFIG
+# ==== BEGIN ANSIBLE BASH-COMPLETION CONFIG
+if [ -f "/usr/share/bash-completion/bash_completion" ]; then
+ source "/usr/share/bash-completion/bash_completion"
+fi
+# ==== END ANSIBLE BASH-COMPLETION CONFIG
+
# ==== BEGIN ANSIBLE GO CONFIG
if command -v go 1>/dev/null 2>&1; then
export PATH="$PATH:/usr/local/go/bin"
@@ -102,7 +108,7 @@ if [ -f "$HOME/.nvm/nvm.sh" ]; then
source "$HOME/.nvm/nvm.sh"
fi
-# ==== k8s/ktx/kns completeion
+# ==== k8s/ktx/kns completion
if command -v kubectl 1>/dev/null 2>&1; then
alias k='kubectl'
complete -F __start_kubectl k