summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-10-31 23:01:41 +0100
committerxengineering <me@xengineering.eu>2024-10-31 23:01:41 +0100
commit00c906c49ec68b4048c64fcf553e5f1f5fc5c5db (patch)
tree1d2eddae12808b4fc0be85bc0453452f798631c8
parentcb0b434737887a3eb3a494d83ae602671666484e (diff)
downloaddotfiles-00c906c49ec68b4048c64fcf553e5f1f5fc5c5db.tar
dotfiles-00c906c49ec68b4048c64fcf553e5f1f5fc5c5db.tar.zst
dotfiles-00c906c49ec68b4048c64fcf553e5f1f5fc5c5db.zip
posix-shell: Add go bin path to PATH
This allows to install programs with `go install <module-url>@<version>`.
-rw-r--r--posix-shell/constants.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix-shell/constants.sh b/posix-shell/constants.sh
index 2b29fa3..9258e1b 100644
--- a/posix-shell/constants.sh
+++ b/posix-shell/constants.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-export PATH="${HOME}/.local/bin:${PATH}"
export GOPATH="${HOME}/go"
+export PATH="${HOME}/.local/bin:${GOPATH}/bin:${PATH}"
export EDITOR='nvim'