Files
dotfiles/zsh/.profile.d/java.sh
Fabio Scotto di Santolo 3bce5ef841 Cleanup ZSH config
2025-08-18 22:20:47 +02:00

6 lines
131 B
Bash

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