From ed096511aac09bdac9bd05f27c4a35291f153cd6 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Thu, 5 Jun 2025 09:21:00 +0200 Subject: fish: add llm quick question shortcut --- share/cfg/fish.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/share/cfg/fish.nix b/share/cfg/fish.nix index fc6ae01..d5b071a 100644 --- a/share/cfg/fish.nix +++ b/share/cfg/fish.nix @@ -9,6 +9,11 @@ onEvent = "fish_command_not_found"; }; t = "pushd $(mktemp -d /tmp/$1.XXXX)"; + # see: https://entropicthoughts.com/q + q = '' + llm --system "Answer in as few words as possible. Use a brief style with short replies" \ + --model gemini-2.5-flash $(string join ' ' $argv) + ''; }; interactiveShellInit = '' fastfetch -- cgit v1.3.1