aboutsummaryrefslogtreecommitdiff
path: root/shell/utils
diff options
context:
space:
mode:
Diffstat (limited to 'shell/utils')
-rw-r--r--shell/utils5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/utils b/shell/utils
index b84bb48..6c3e85e 100644
--- a/shell/utils
+++ b/shell/utils
@@ -1,4 +1,7 @@
-
+# E.g. after `.mkshrc` is called, perhaps in `~/.mkshrc.local`
+# export GOPATH=$HOME/code/gopath
+# export GOROOT=$HOME/go/1.13.5
+# set_go
set_go() {
export GOPATH="${GOPATH:-$HOME/go}"
export PATH="$GOPATH/bin:$PATH"