Create version of set-java-home script for fish shell

This commit is contained in:
Jon Bramley 2019-10-31 14:57:04 +00:00
parent 73495de00d
commit 6629a626a7

4
set-java-home.fish Normal file
View File

@ -0,0 +1,4 @@
asdf current java 2>&1 > /dev/null
if test $status -eq 0
set -x JAVA_HOME (asdf where java)
end