Fix Bash configuration
This commit is contained in:
6
bash/.bashrc.d/java.sh
Executable file
6
bash/.bashrc.d/java.sh
Executable 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
|
||||
Reference in New Issue
Block a user