From 25ed7d3f8db7ec636230ae8764ea6cbe47ba8450 Mon Sep 17 00:00:00 2001 From: Alexander Khodyrev Date: Tue, 26 Aug 2025 22:15:14 +0300 Subject: [PATCH] modue stuff --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index bc197bb..d1f2a19 100644 --- a/main.go +++ b/main.go @@ -85,7 +85,7 @@ func main() { case "fish": fmt.Printf(`function _llm_shell_hint set -l LLM_SUGGESTION_FILE (mktemp) - llm-shell-hint %s --output $LLM_SUGGESTION_FILE (commandline -b) + llm-shell-hint %s query --output $LLM_SUGGESTION_FILE (commandline -b) set -l LLM_SUGGESTION (cat $LLM_SUGGESTION_FILE) rm $LLM_SUGGESTION_FILE @@ -102,7 +102,7 @@ bind ctrl-q _llm_shell_hint case "bash": fmt.Printf(`_llm_shell_hint() { local suggestion_file=$(mktemp) - llm-shell-hint %s --output "$suggestion_file" -- "$READLINE_LINE" + llm-shell-hint %s query --output "$suggestion_file" -- "$READLINE_LINE" local suggestion=$(<"$suggestion_file") rm "$suggestion_file" @@ -118,7 +118,7 @@ bind -x '"\C-q":_llm_shell_hint' case "zsh": fmt.Printf(`_llm_shell_hint() { local suggestion_file=$(mktemp) - llm-shell-hint %s --output "$suggestion_file" -- "$BUFFER" + llm-shell-hint %s query --output "$suggestion_file" -- "$BUFFER" local suggestion=$(<"$suggestion_file") rm "$suggestion_file"