David Farrell
1390409e55
Remove redundant check for GOENV_ROOT
2020-03-10 02:07:32 -07:00
David Farrell
8c5581a52b
Simply pathmunge / bail logic
2020-03-10 01:58:07 -07:00
David Farrell
dc2c9cfd38
Sets GOENV_ROOT early, exports after finding goenv
2020-03-10 01:32:41 -07:00
David Farrell
d24ab02be5
Always sets GOENV_ROOT. Bailes early if goenv not found
2020-03-09 23:39:34 -07:00
David Farrell
fc43b112a5
Updates from review feedback.
...
* Don't bail if GOENV_ROOT not set
* Set GOENV_ROOT to ~/.goenv if not set and installed there
* Only munge path if goenv not on path and exists in GOENV_ROOT/bin
* More comments
2020-03-09 19:43:27 -07:00
David Farrell
73a21f7435
Add goenv plugin
2020-03-09 11:32:58 -07:00