aboutsummaryrefslogtreecommitdiff
path: root/shell/utils
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-01-04 12:49:48 -0500
committerMitch Riedstra <mitch@riedstra.us>2020-01-04 12:50:02 -0500
commita52c6b533e0935843c6aba4589ebdb10090ca440 (patch)
treea5be0db27cd7598d995587ba77fefff88d104de3 /shell/utils
parentf4b89dd102c9cc243dd95b1d15116332ed113b30 (diff)
downloaddotfiles-a52c6b533e0935843c6aba4589ebdb10090ca440.tar.gz
dotfiles-a52c6b533e0935843c6aba4589ebdb10090ca440.tar.xz
Add a lot of documentation surrounding this
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"