fix goenv check
parent
a683039a72
commit
262a58fabc
|
|
@ -7,8 +7,7 @@ about-plugin 'go environment variables & path configuration'
|
||||||
_command_exists go || return 0
|
_command_exists go || return 0
|
||||||
|
|
||||||
# If using goenv, make sure it can find go
|
# If using goenv, make sure it can find go
|
||||||
go version &>/dev/null
|
go version &>/dev/null || return 0
|
||||||
[[ $? -eq 0 ]] || return 0
|
|
||||||
|
|
||||||
function _go_pathmunge_wrap() {
|
function _go_pathmunge_wrap() {
|
||||||
IFS=':' local -a 'a=($1)'
|
IFS=':' local -a 'a=($1)'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue