Stats
Actions
Tags
From ccwatch
Runs a shell script on session start to initialize the plugin environment. Executes bash commands.
1 event · 4 hooks
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
startupsh -lc 'PLUGIN_DIR="$HOME/.claude/plugins/cache/terzigolu/ccwatch/current"; [ -d "$PLUGIN_DIR" ] || PLUGIN_DIR=$(find "$HOME/.claude/plugins/cache" -mindepth 3 -maxdepth 3 -type d -path "*/ccwatch/*" 2>/dev/null | sort | tail -n 1); [ -n "$PLUGIN_DIR" ] || exit 0; exec node "$PLUGIN_DIR/dist/cli.js" repair'resumesh -lc 'PLUGIN_DIR="$HOME/.claude/plugins/cache/terzigolu/ccwatch/current"; [ -d "$PLUGIN_DIR" ] || PLUGIN_DIR=$(find "$HOME/.claude/plugins/cache" -mindepth 3 -maxdepth 3 -type d -path "*/ccwatch/*" 2>/dev/null | sort | tail -n 1); [ -n "$PLUGIN_DIR" ] || exit 0; exec node "$PLUGIN_DIR/dist/cli.js" repair'clearsh -lc 'PLUGIN_DIR="$HOME/.claude/plugins/cache/terzigolu/ccwatch/current"; [ -d "$PLUGIN_DIR" ] || PLUGIN_DIR=$(find "$HOME/.claude/plugins/cache" -mindepth 3 -maxdepth 3 -type d -path "*/ccwatch/*" 2>/dev/null | sort | tail -n 1); [ -n "$PLUGIN_DIR" ] || exit 0; exec node "$PLUGIN_DIR/dist/cli.js" repair'compactsh -lc 'PLUGIN_DIR="$HOME/.claude/plugins/cache/terzigolu/ccwatch/current"; [ -d "$PLUGIN_DIR" ] || PLUGIN_DIR=$(find "$HOME/.claude/plugins/cache" -mindepth 3 -maxdepth 3 -type d -path "*/ccwatch/*" 2>/dev/null | sort | tail -n 1); [ -n "$PLUGIN_DIR" ] || exit 0; exec node "$PLUGIN_DIR/dist/cli.js" repair'npx claudepluginhub terzigolu/ccwatch --plugin ccwatch