Home

Awesome

goenv

Antigen plugin to manage $GOPATH similarly to Python's virtualenvwrapper.

I'm sure this can also be used with vanilla oh-my-zsh (or prezto), but I'm not sure exactly how. If you figure it out - please open a pull request, as I'd love to know.

installation

In .zshrc:

antigen-use oh-my-zsh
antigen bundle bbenne10/goenv
antigen apply

In .zshenv:

export GO_ENV=~/.goenvs

$GO_ENV works exactly the same as $WORKON_HOME in virtualenvwrapper's world. It answers the questions "Where should centralized go environments be stored?" Note: Should this env variable be unset, it will be initalized on plugin load to $HOME/.goenvs.

usage

This exports two main functions:

TODO