fix: Remove exec from claude auto-start to allow manual shell usage

Allow users to exit claude and continue using shell manually.
When claude exits, user returns to zsh instead of logging out.
This commit is contained in:
Claude
2025-11-07 13:05:26 +00:00
parent 511cf960d6
commit 355c3dceb4

View File

@@ -33,7 +33,7 @@ cat >> $ROOTFS/home/ai/.zshrc <<'EOF'
# Auto-start claude in interactive login shell
if [[ -o login ]] && [[ -o interactive ]]; then
if command -v claude &>/dev/null; then
exec claude
claude
fi
fi
EOF