mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-09-21 02:17:11 +00:00
completions: Add completion files for OpenShift/K8s tools (#404)
Including: crc, oc, tkn, helm
This commit is contained in:
parent
3a26319b9e
commit
81f3983c1c
4
completions/crc.completion.sh
Normal file
4
completions/crc.completion.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#! bash oh-my-bash.module
|
||||
if _omb_util_command_exists crc; then
|
||||
eval -- "$(crc completion bash)"
|
||||
fi
|
4
completions/helm.completion.sh
Normal file
4
completions/helm.completion.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#! bash oh-my-bash.module
|
||||
if _omb_util_command_exists helm; then
|
||||
eval -- "$(helm completion bash)"
|
||||
fi
|
4
completions/oc.completion.sh
Normal file
4
completions/oc.completion.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#! bash oh-my-bash.module
|
||||
if _omb_util_command_exists oc; then
|
||||
eval -- "$(oc completion bash)"
|
||||
fi
|
8
completions/tkn.completion.sh
Normal file
8
completions/tkn.completion.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user