mirror of
https://github.com/halcyon/asdf-java.git
synced 2024-10-06 07:42:09 +08:00
5 lines
100 B
Fish
5 lines
100 B
Fish
asdf current java 2>&1 > /dev/null
|
|
if test $status -eq 0
|
|
set -x JAVA_HOME (asdf where java)
|
|
end
|