diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-26 23:10:50 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-26 23:10:50 +0200 |
| commit | 6ec4c79f9f0f45c242012955effc3099188745e8 (patch) | |
| tree | eb360d221b5e051fad8490c005577da679be93e6 /fish/conf.d/ai.fish | |
| parent | 7a396075e9a4cef1441192177dacaf20b771c259 (diff) | |
fish: source ask completions from ~/go/bin/ask
Diffstat (limited to 'fish/conf.d/ai.fish')
| -rw-r--r-- | fish/conf.d/ai.fish | 8 |
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 |
