diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-18 22:00:19 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-18 22:00:19 +0100 |
| commit | c70879b695aa4a95917a0974107e96ee0da79b27 (patch) | |
| tree | 14ea60c3117a9615f821456d67cce85babbef946 | |
| parent | f68f2e4925fbb1562d78c60bf72c94a56da8c7bb (diff) | |
Ensure compatible bashrc that works with ansible roles
| -rw-r--r-- | .bashrc | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |
