Skip to content

Agent mode run in terminal hangs with bash-git-prompt #252493

Open
@Tyriar

Description

@Tyriar

I'm using https://github.com/magicmonty/bash-git-prompt

Seems that this is indeed causing the problem. I first tried the Single_line_Ubuntu theme and that didn't work, then I commented out gitprompt.sh and it fixed it. Not sure why exactly but there is the smoking gun.

if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then 
    GIT_PROMPT_ONLY_IN_REPO=1
    GIT_PROMPT_THEME=Default_Ubuntu
    GIT_PROMPT_THEME=Single_line_Ubuntu
    # source "$HOME/.bash-git-prompt/gitprompt.sh"
fi

Are there any alternative git prompts that are known to work with agent mode? 🤔

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugchat-terminalThe run in terminal tool in chat

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions