Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions plugins/warp/scripts/on-session-start.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down