From cf9ba619a8658339802426473215d621784fd92b Mon Sep 17 00:00:00 2001 From: mausv Date: Tue, 24 Mar 2026 18:07:54 -0600 Subject: [PATCH] fix(claude-code): improve error message for missing claude installation --- plugins/claude-code/claude-code.plugin.zsh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/claude-code/claude-code.plugin.zsh b/plugins/claude-code/claude-code.plugin.zsh index c4019a2c5..d730f75c0 100644 --- a/plugins/claude-code/claude-code.plugin.zsh +++ b/plugins/claude-code/claude-code.plugin.zsh @@ -5,15 +5,19 @@ # Prerequisite check if ! (( $+commands[claude] )); then - print "zsh claude-code plugin: claude not found. Install Claude Code: npm install -g @anthropic-ai/claude-code" >&2 + print "zsh claude-code plugin: claude not found. Please install Claude Code before using this plugin." >&2 return 1 fi # Configuration variables +# Default model for clm function (e.g., opus, sonnet, haiku, or full model ID) : ${ZSH_CLAUDE_DEFAULT_MODEL:=} +# Default reasoning effort level (low, medium, high, max) : ${ZSH_CLAUDE_DEFAULT_EFFORT:=} +# Default permission mode for claude sessions (e.g., plan, autoaccept) : ${ZSH_CLAUDE_DEFAULT_PERMISSION_MODE:=} +# Auto-resume last conversation on new shell start (true/false) : ${ZSH_CLAUDE_AUTO_CONTINUE:=false} # Core aliases