Closed mtift closed 6 years ago
Interesting. I wonder if it's a bug because dirty file tracking is disabled. Also, the theme should be the default of robbyrussell
. I wonder how yours got there?
So you have to add the git-prompt
plugin to get it to be added by default. However, that slows down any prompt displays for a mounted /var/www/docroot
pretty significantly, so I removed it (a long) time ago. Do you think displaying the branch by itself is worth it? For me, I'm almost always working from outside the VM for git operations.
For me, I'm almost always working from outside the VM for git operations.
/me too.
Thanks for the feedback. It sounds like the answer to my question is "no."
I haven't done any git operations in the VM, either. I have just noticed that I've been typing git branch
when I'm in the VM, troubleshooting problems, including making sure I'm on the right branch.
Oh, and yes, I meant "robbyrussell."
When I
vagrant ssh
into my machine that uses the supplied oh-my-xsh theme (ZSH_THEME="superjarin"
, or any other theme for that matter) I don't see a git branch on the prompt. For example, I just see this:If I add something like this to my ~/.zshrc:
Then I see this in my prompt:
Should I see git branches using the project with the default setup?