summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc9
1 files changed, 6 insertions, 3 deletions
diff --git a/.bashrc b/.bashrc
index fb90e00..256175c 100644
--- a/.bashrc
+++ b/.bashrc
@@ -76,15 +76,18 @@ if [ -d "$HOME/.local/bin" ]; then
export PATH="$HOME/.local/bin:$PATH"
fi
-# ==== go config.
+# ==== BEGIN ANISBLE GO CONFIG
if command -v go 1>/dev/null 2>&1; then
+ export PATH="$PATH:/usr/local/go/bin"
export PATH="$HOME/go/bin:$PATH"
fi
+# ==== END ANSIBLE GO CONFIG
-# ==== rust config
-if command -v cargo 1>/dev/null 2>&1; then
+# ==== BEGIN ANSIBLE RUST CONFIG
+if [ -f "$HOME/.cargo/env" ]; then
source "$HOME/.cargo/env"
fi
+# ==== END ANSIBLE RUST CONFIG
# ==== rbenv config.
if command -v rbenv 1>/dev/null 2>&1; then