fix goenv check

pull/1657/head
cornfeedhobo 2020-09-10 09:42:02 -05:00
parent a683039a72
commit 262a58fabc
No known key found for this signature in database
GPG Key ID: 724357093F994B26
1 changed files with 1 additions and 2 deletions

View File

@ -7,8 +7,7 @@ about-plugin 'go environment variables & path configuration'
_command_exists go || return 0
# If using goenv, make sure it can find go
go version &>/dev/null
[[ $? -eq 0 ]] || return 0
go version &>/dev/null || return 0
function _go_pathmunge_wrap() {
IFS=':' local -a 'a=($1)'