summaryrefslogtreecommitdiff
path: root/fish/conf.d
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-26 23:10:50 +0200
committerPaul Buetow <paul@buetow.org>2026-03-26 23:10:50 +0200
commit6ec4c79f9f0f45c242012955effc3099188745e8 (patch)
treeeb360d221b5e051fad8490c005577da679be93e6 /fish/conf.d
parent7a396075e9a4cef1441192177dacaf20b771c259 (diff)
fish: source ask completions from ~/go/bin/ask
Diffstat (limited to 'fish/conf.d')
-rw-r--r--fish/conf.d/ai.fish8
1 files changed, 5 insertions, 3 deletions
diff --git a/fish/conf.d/ai.fish b/fish/conf.d/ai.fish
index 5acdc32..141cdf0 100644
--- a/fish/conf.d/ai.fish
+++ b/fish/conf.d/ai.fish
@@ -5,8 +5,10 @@ if test -f ~/git/hypr/hypr.fish
source ~/git/hypr/hypr.fish
end
-if test -f ~/git/hexai/assets/ask.fish
- source ~/git/hexai/assets/ask.fish
+set -l ask_bin ~/go/bin/ask
+
+if test -x $ask_bin
+ $ask_bin fish | source
else
- echo No ~/git/hexai/assets/ask.fish found
+ echo No $ask_bin found
end