From 2a319998526138fff899217a33fe472a6a736527 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Mon, 10 Jun 2019 15:28:40 +0200 Subject: [PATCH] Set GOBIN to detected GOPATH --- shell/go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/go b/shell/go index 460c043..824a0f2 100644 --- a/shell/go +++ b/shell/go @@ -45,10 +45,12 @@ _strip-go-path() { _set-gopath() { export GOPATH="$*" + export GOBIN="$GOPATH/bin" } _unset-gopath() { unset GOPATH + unset GOBIN } _gopath() {