dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 9a745633aaba996fca30f88dfb3e143fb2636575
parent 2fec24d75d7745289113fab7f426f41d8b4a8b2c
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Thu,  5 Sep 2019 13:08:08 -0400

commonprofile: use modules for Go

Former-commit-id: 1623bc823eac2a7455fdb413f6c2927b6f7ae498
Diffstat:
Mshell/commonprofile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shell/commonprofile b/shell/commonprofile @@ -7,7 +7,7 @@ # PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin export \ - PATH GOPATH \ + PATH GOPATH GO111MODULE\ DOTFILES MUSIC_DIR \ EDITOR HOMEBREW_EDITOR \ VIRTUALENVWRAPPER_PYTHON PIP_REQUIRE_VIRTUALENV WORKON_HOME VIRTUALENVWRAPPER_SCRIPT\ @@ -30,6 +30,7 @@ fi # Golang if command -v go &> /dev/null; then GOPATH="$HOME"/.go + GO111MODULE=on if [[ $PATH != *"$GOPATH"* ]]; then PATH=$PATH:"$GOPATH"/bin fi