#!/bin/sh # Enable kubectl and helm completion for interactive bash sessions. if [ -n "${BASH_VERSION:-}" ]; then if [ -r /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion fi if [ -r /etc/bash_completion.d/kubectl ]; then . /etc/bash_completion.d/kubectl fi if [ -r /etc/bash_completion.d/helm ]; then . /etc/bash_completion.d/helm fi fi alias k=kubectl complete -F __start_kubectl k