Updated openshift completion to use _command_exists and removed duplicate oc completion
This commit is contained in:
@@ -1 +0,0 @@
|
||||
_command_exists oc && source <(oc completion bash)
|
||||
@@ -1,3 +1 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
[ -x "$(which oc)" ] && eval "$(oc completion bash)"
|
||||
_command_exists oc && source <(oc completion bash)
|
||||
|
||||
Reference in New Issue
Block a user