diff --git a/plugins/warp/scripts/on-session-start.sh b/plugins/warp/scripts/on-session-start.sh index 4d5e7fb..6b23f87 100755 --- a/plugins/warp/scripts/on-session-start.sh +++ b/plugins/warp/scripts/on-session-start.sh @@ -1,6 +1,13 @@ #!/bin/bash # Hook script for Claude Code SessionStart event # Shows welcome message and Warp detection status +# +# Set CLAUDE_CODE_WARP_QUIET_SESSION_START=1 to suppress this message. +# Useful when running in non-Warp terminals that support OSC 777 +# notifications (e.g. Ghostty), where the plugin works but the +# "not running in Warp" message is misleading. + +[ "$CLAUDE_CODE_WARP_QUIET_SESSION_START" = "1" ] && exit 0 # Check if running in Warp terminal if [ "$TERM_PROGRAM" = "WarpTerminal" ]; then