0
Notify before bash
Güvenlik farkındalığı için herhangi bir Bash komutunun yürütülmesinden önce bildirim göster
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Güvenlik farkındalığı için herhangi bir Bash komutunun yürütülmesinden önce bildirim göster
Kaynak: davepoon/claude-code-subagents-collection · MIT
curl -sL https://www.antrophiclove.com/api/kaynak/notify-before-bash/rawBu içerik mevcut dosyaya elle harmanlanmalı: .claude/settings.json
Show notification before any Bash command execution for security awareness
PreToolUseBashNone required
command=$(jq -r '.tool_input.command // "unknown command"')
short_cmd=$(echo "$command" | head -c 50)
if [[ "$OSTYPE" == "darwin"* ]]; then
osascript -e "display notification \"Running: $short_cmd\" with title \"Claude Code - Bash\""
else
notify-send "Claude Code - Bash" "Running: $short_cmd" 2>/dev/null || true
fi