Fix Bash configuration

This commit is contained in:
Fabio Scotto di Santolo
2025-12-17 23:17:42 +01:00
parent 9b0bdd7fc6
commit 5045102b6b
8 changed files with 17 additions and 19 deletions

6
bash/.bashrc.d/java.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
if command -v java > /dev/null 2>&1; then
JAVA_HOME="$(dirname $(mise bin-paths | grep -i java))"
export JAVA_HOME
fi