Updated openshift completion to use _command_exists and removed duplicate oc completion

This commit is contained in:
Uco Mesdag
2020-04-21 15:00:14 +02:00
parent 313e9bd51b
commit 862b99896d
2 changed files with 1 additions and 4 deletions

View File

@@ -1,3 +1 @@
#!/usr/bin/env bash
[ -x "$(which oc)" ] && eval "$(oc completion bash)"
_command_exists oc && source <(oc completion bash)