-1

enter image description here

I have just recently installed oh my Zsh and when I did a number in brackets appeared next to my command line prompt (please see my picture).

Could someone please tell me what this number is and how to remove or configure it to something else?

J.Day
  • 103
  • 1
  • 10
  • 2
    This might be a good point to start figuring it out: https://github.com/robbyrussell/oh-my-zsh/wiki/Themes – Benjamin W. Aug 03 '18 at 14:13
  • I looked thank you. It turns out is was a git repo number as I accidentally initiated one on my entire root folder! It has now been deleted and the number has gone. – J.Day Aug 17 '18 at 08:17

1 Answers1

1

Your prompt looks like:

jonathonday:Desktop/ (5237f76 X) $

I would guess that this shows:

  1. User
  2. Current location (Desktop/)
  3. The current git HEAD (5237f76)
  4. The git-status of your working directory (dirty: X)

If you're not in a git repository, and you're seeing the (5237f76 X), please add more information to your question (what theme are you using / what have you edited in the oh-my-zsh installation).

simont
  • 68,704
  • 18
  • 117
  • 136