Replaced which command with _command_exists

pull/1566/head
Uco Mesdag 2020-04-20 23:45:17 +02:00
parent c3f4b74adf
commit a396c51c67
No known key found for this signature in database
GPG Key ID: 4ADCB4FA8FCAAA19
1 changed files with 1 additions and 2 deletions

View File

@ -1,2 +1 @@
CMD="$(which minishift)"
[[ -x "$CMD" ]] && source <("$CMD" completion bash)
_command_exists minishift && source <(minishift completion bash)