I see you have a “fancy prompt”. bash? If so, try this in .bashrc if you want:
function set_bash_prompt() {
# Fetch venv name and set, just in case
if [[ -n "$VIRTUAL_ENV" ]]; then
venv_name=$(basename "$VIRTUAL_ENV")
venv_prefix="(${venv_name}) "
else
venv_prefix=""
fi
# Build prompt
PS1="${venv_prefix}\u@\h:\w\$ "
}
PROMPT_COMMAND=set_bash_prompt
For me it seems to be helping A LOT with Cursor’s ability to run commands and interpret output etc.