completions: Add completion files for OpenShift/K8s tools (#404)

Including: crc, oc, tkn, helm
This commit is contained in:
Barak Korren 2023-02-25 13:06:00 +02:00 committed by GitHub
parent 3a26319b9e
commit 81f3983c1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#! bash oh-my-bash.module
if _omb_util_command_exists crc; then
eval -- "$(crc completion bash)"
fi

View File

@ -0,0 +1,4 @@
#! bash oh-my-bash.module
if _omb_util_command_exists helm; then
eval -- "$(helm completion bash)"
fi

View File

@ -0,0 +1,4 @@
#! bash oh-my-bash.module
if _omb_util_command_exists oc; then
eval -- "$(oc completion bash)"
fi

View File

@ -0,0 +1,8 @@
#! bash oh-my-bash.module
if _omb_util_command_exists tkn; then
eval -- "$(tkn completion bash)"
fi
if _omb_util_command_exists tkn-pac; then
eval -- "$(tkn-pac completion bash)"
fi