summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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