summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-10-13 09:29:39 +0300
committerPaul Buetow <paul@buetow.org>2025-10-13 09:29:39 +0300
commit6b9ff3a73fd93673592c6ceba840c32424187c22 (patch)
treee37ccf9d41a887432fe1cbb746d41381bf180060
parentdab318ea915bc32bb22ea4472d6e19ad268dbb61 (diff)
add java
-rw-r--r--dotfiles/fish/conf.d/ai.fish2
-rw-r--r--dotfiles/fish/conf.d/java.fish3
2 files changed, 4 insertions, 1 deletions
diff --git a/dotfiles/fish/conf.d/ai.fish b/dotfiles/fish/conf.d/ai.fish
index 0ae3ba3..f44df0f 100644
--- a/dotfiles/fish/conf.d/ai.fish
+++ b/dotfiles/fish/conf.d/ai.fish
@@ -8,7 +8,7 @@ abbr -a aic 'aichat -e'
# set -gx COPILOT_MODEL gpt-4.1 # can be changed with aimodels function
set -gx COPILOT_MODEL gpt-4o # can be changed with aimodels function
set -gx HANDLER copilot
-set -gx HEXAI_PROVIDER copilot
+set -gx HEXAI_PROVIDER openai
# TODO: also reconfigure aichat tool using this function
function aimodels
diff --git a/dotfiles/fish/conf.d/java.fish b/dotfiles/fish/conf.d/java.fish
new file mode 100644
index 0000000..30de84d
--- /dev/null
+++ b/dotfiles/fish/conf.d/java.fish
@@ -0,0 +1,3 @@
+if test (uname) = Linux
+ set -gx JAVA_HOME /usr/lib/jvm/java-24-openjdk
+end