oh-my-bash/completions/kubectl.completion.sh
M 4fb778c405 Refactor "{{which,command -v} => _omb_util_{binary,command}_exists}"
`which` has been deprecated in Debian (at least, the rolling release
installed on chromebooks via Linux Containers)

https://github.com/ohmybash/oh-my-bash/pull/239#issuecomment-1000974461

Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
2022-08-23 18:09:16 +09:00

9 lines
146 B
Bash

#! bash oh-my-bash.module
# kubectl (Kubernetes CLI) completion
if _omb_util_command_exists kubectl
then
eval "$(kubectl completion bash)"
fi