diff options
| author | Miran Bastaja <mbastaja@sorre.xyz> | 2025-06-05 09:21:00 +0200 |
|---|---|---|
| committer | Miran Bastaja <mbastaja@sorre.xyz> | 2025-06-05 09:22:27 +0200 |
| commit | ed096511aac09bdac9bd05f27c4a35291f153cd6 (patch) | |
| tree | 24ba3c31dc05f0284b94576c8f352f7a4f3a008d /share/cfg | |
| parent | 3a6f02213be47a7d08ba4fc895fd5ba5fa47023b (diff) | |
fish: add llm quick question shortcut
Diffstat (limited to 'share/cfg')
| -rw-r--r-- | share/cfg/fish.nix | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
