Status bar not showing git branch

Thanks for filing an issue! Please answer the questions below so I can help you.

  • iTerm2 version: 3.4.4
  • OS version: macOS 11.2.1

Detailed steps to reproduce the problem:

  1. Preferences > Profiles > Session > Configure Status Bar > add git state component to status bar
  2. Screenshot below is what my status bar looks like with the git state component added ss

What happened:

When you click on the warning, the error message reads

Problem Running git

xcrun: error: unable to load libxcrun (dlopen(/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib, 0x0005): could not use '/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' because it is not a compatible arch).

What should have happened:

Should have shown that I was on main

Edited by Adam Alston