English
Run terminal commands automatically as part of agent operations
CURSOR_AGENT
# ~/.zshrc — disable Powerlevel10k when Cursor Agent runs if [[ -n "$CURSOR_AGENT" ]]; then # Skip theme initialization for better compatibility else [[ -r ~/.p10k.zsh ]] && source ~/.p10k.zsh fi
# ~/.bashrc — fall back to a simple prompt in Agent sessions if [[ -n "$CURSOR_AGENT" ]]; then PS1='\u@\h \W \$ ' fi
Was this page helpful?