summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-03-04 00:16:55 +0100
committerAhmed Abdelhalim <[email protected]>2026-03-04 00:16:55 +0100
commitb9b4ed6d2e1a15241a2baaee9a465a33221ed4c1 (patch)
tree5c5ff32fa682557320a8e39db9d001871de2a3af /.bashrc
parent777c04240276437c9aa11a015f0ab7a8b77bf9d0 (diff)
Fix go loading with mise
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/.bashrc b/.bashrc
index 78b8d85..c92dea3 100644
--- a/.bashrc
+++ b/.bashrc
@@ -90,8 +90,7 @@ fi
# ==== END ANSIBLE BASH-COMPLETION CONFIG
# ==== BEGIN ANSIBLE GO CONFIG
-if command -v go 1>/dev/null 2>&1; then
- export PATH="$PATH:/usr/local/go/bin"
+if [ -d "$HOME/go/bin" ]; then
export PATH="$HOME/go/bin:$PATH"
fi
# ==== END ANSIBLE GO CONFIG