Updated openshift completion to use _command_exists and removed duplicate oc completion

pull/1569/head
Uco Mesdag 2020-04-21 15:00:14 +02:00
parent 313e9bd51b
commit 862b99896d
No known key found for this signature in database
GPG Key ID: 4ADCB4FA8FCAAA19
2 changed files with 1 additions and 4 deletions

View File

@ -1 +0,0 @@
_command_exists oc && source <(oc completion bash)

View File

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