aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <raul@thousandeyes.com>2024-08-12 13:55:06 -0300
committerRaul Benencia <raul@thousandeyes.com>2024-08-12 13:57:04 -0300
commitf15790271f21a3debaa134d85f3cbd770e8c354d (patch)
tree63ec299a76fe6cf9ac910c76c2743eaac2bcab90
parentc6acb3cffd77a9c59056acbe1a964593a117fa26 (diff)
bash: load asdf if present
-rw-r--r--.environment.d/00-languages5
1 files changed, 5 insertions, 0 deletions
diff --git a/.environment.d/00-languages b/.environment.d/00-languages
index fcc4565..e3ad179 100644
--- a/.environment.d/00-languages
+++ b/.environment.d/00-languages
@@ -18,3 +18,8 @@ if [ -d "/usr/local/go/bin" ]; then
fi
RUST_SRC_PATH="$HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/"
+
+if [ -d "$HOME/.asdf/asdf.sh" ]; then
+ . "$HOME/.asdf/asdf.sh"
+ . "$HOME/.asdf/completions/asdf.bash"
+fi
nihil fit ex nihilo