From c70879b695aa4a95917a0974107e96ee0da79b27 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 18 Jan 2026 22:00:19 +0100 Subject: Ensure compatible bashrc that works with ansible roles --- .bashrc | 9 ++++++--- 1 file 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 -- cgit v1.2.3