about summary refs log tree commit diff stats
path: root/profile/go.sh
diff options
context:
space:
mode:
Diffstat (limited to 'profile/go.sh')
-rw-r--r--profile/go.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/profile/go.sh b/profile/go.sh new file mode 100644 index 0000000..077833e --- /dev/null +++ b/profile/go.sh
@@ -0,0 +1,2 @@
1export GOPATH="${XDG_DATA_HOME:=$HOME/.local/share}/go"
2command -v go >/dev/null 2>&1 && path_add_to_PATH "$(go env GOPATH)/bin"