Prompt extremely slow suddenly
My Oh My Bash prompt is suddenly taking several hundred ms to display when hitting enter on the terminal. I'm not sure how to debug this. Uninstalling OMB fixes the problem, so it's related in some way.
I figured the issue out, while spamming the prompt, I saw that the process hg was taking up a lot of CPU time, which turns out to be the mercurial command line interface. Uninstalling mercurial (as I don't use it anyway) fixed my problem.
Which theme were you using? There are a few thmees that implement their own hg prompts.
Powerline
Which theme were you using? There are a few thmees that implement their own hg prompts.
Most of the themes call command hg through scm_char, scm_prompt_info, etc. in identifying the version control system when hg is installed.
https://github.com/ohmybash/oh-my-bash/blob/8cd6496fd09ed8a9a3833679639ba38e3bfd63c6/lib/omb-prompt-base.sh#L120-L129