Refactor xonsh config

This commit is contained in:
2022-01-06 16:50:56 -08:00
parent 33372e8300
commit 68d903d628
9 changed files with 96 additions and 91 deletions

4
xonsh/java.xsh Normal file
View File

@@ -0,0 +1,4 @@
from xonsh.platform import ON_DARWIN
if ON_DARWIN:
$JAVA_HOME = $(/usr/libexec/java_home).strip()