summaryrefslogtreecommitdiff
path: root/fish/conf.d/java.fish
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-07 23:46:42 +0200
committerPaul Buetow <paul@buetow.org>2026-02-07 23:46:42 +0200
commitf408ae894e4e10bbf4358c7c07bb9618ef1353e4 (patch)
tree0722f09473a58f1b9027e271cd6bd0e96e7a390d /fish/conf.d/java.fish
parentbf56ef64278a90acab9116311e649e762d39cd34 (diff)
rename
Diffstat (limited to 'fish/conf.d/java.fish')
-rw-r--r--fish/conf.d/java.fish6
1 files changed, 6 insertions, 0 deletions
diff --git a/fish/conf.d/java.fish b/fish/conf.d/java.fish
new file mode 100644
index 0000000..5a4968c
--- /dev/null
+++ b/fish/conf.d/java.fish
@@ -0,0 +1,6 @@
+if test (uname) = Linux
+ set -gx JAVA_HOME /usr/lib/jvm/java-latest-openjdk
+ if not test -d $JAVA_HOME
+ echo "Warning: JAVA_HOME path '$JAVA_HOME' does not exist."
+ end
+end