2

I just installed the Oh my zsh terminal plugin in Mac OS and Everytime I type in git branch on my zsh terminal in VS code, it opens the git cli. how do I fix this?

When I type in git branch enter image description here

It changes to the git cli enter image description here

I have to ctrl + z out of this to go back to zsh: enter image description here

I am expecting a similar behavior to bash where typing in git branch produces the following: enter image description here

Orbita1frame
  • 203
  • 4
  • 13

1 Answers1

3

This article helped me and fixed the issue you're seeing! Git branch command behaves like 'less'

tl;dr - you want to update your config using

git config --global pager.branch false
hanseld
  • 31
  • 4