Add Bash configuration with Oh My Bash
This commit is contained in:
5
bash/.profile.d/java.sh
Executable file
5
bash/.profile.d/java.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if command -v java > /dev/null 2>&1; then
|
||||
export JAVA_HOME="$(dirname $(mise bin-paths | grep -i java))"
|
||||
fi
|
||||
Reference in New Issue
Block a user