summaryrefslogtreecommitdiff
path: root/posix-shell
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
commit2c6141abab24480f9cd40ab80a28209865c5752e (patch)
tree1d2eddae12808b4fc0be85bc0453452f798631c8 /posix-shell
parentdc6fc14259f68cac553d7835a5a438c1b49cfd43 (diff)
downloaddotfiles-2c6141abab24480f9cd40ab80a28209865c5752e.tar
dotfiles-2c6141abab24480f9cd40ab80a28209865c5752e.tar.zst
dotfiles-2c6141abab24480f9cd40ab80a28209865c5752e.zip
posix-shell: Add go bin path to PATH
This allows to install programs with `go install <module-url>@<version>`.
Diffstat (limited to 'posix-shell')
-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'