diff options
Diffstat (limited to '.bash_profile')
| -rw-r--r-- | .bash_profile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile index 139ec6a..e3e2058 100644 --- a/.bash_profile +++ b/.bash_profile @@ -115,6 +115,13 @@ if command -v helm 1>/dev/null 2>&1; then fi fi +# ==== Generate podman completion script when it's not there +if command -v podman 1>/dev/null 2>&1; then + if [ ! -f $(brew --prefix)/etc/bash_completion.d/podman ]; then + podman completion bash > $(brew --prefix)/etc/bash_completion.d/podman + fi +fi + # ==== k8s/ktx/kns completeion if command -v kubectl 1>/dev/null 2>&1; then alias k='kubectl' |
