Add 'rc' and 'remote-control' to command passthrough (#1539)

This commit is contained in:
FredrikSeidl 2026-03-18 01:50:08 +01:00 committed by GitHub
parent 59901034bf
commit dfbd238e47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,7 +57,7 @@ REAL_CLAUDE="$(find_real_claude)" || { echo "Error: claude not found in PATH" >&
# Pass through subcommands that don't support session/hook flags.
case "${1:-}" in
mcp|config|api-key) exec "$REAL_CLAUDE" "$@" ;;
mcp|config|api-key|rc|remote-control) exec "$REAL_CLAUDE" "$@" ;;
esac
# Unset CLAUDECODE to avoid "nested session" detection — cmux terminals are