diff options
Diffstat (limited to 'profile/go.sh')
-rw-r--r-- | profile/go.sh | 2 |
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 @@ | |||
1 | export GOPATH="${XDG_DATA_HOME:=$HOME/.local/share}/go" | ||
2 | command -v go >/dev/null 2>&1 && path_add_to_PATH "$(go env GOPATH)/bin" | ||