Replaced which command with _command_exists
parent
4ea96132d0
commit
e2b5f99191
|
|
@ -1,2 +1 @@
|
||||||
CMD="$(which oc)"
|
_command_exists oc && source <(oc completion bash)
|
||||||
[[ -x "$CMD" ]] && source <("$CMD" completion bash)
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue