0

I recently installed Oh My Posh and was looking through the documentation to see what the different parts in the prompt indicate.

enter image description here

Through some experiments, so far I have concluded:

root - User name
HelloGitty - Current folder
Github symbol - Clickable link to the origin on GitHub
line and arrow - Branch
Feature3 - Name of the currently checked out branch
3 lines equal sign aka hamburger - No commits pending to push to origin.
Notepad + pen + Question mark followed by a number - Number of untracked files
Checked box followed by number - Number of tracked files
Lightning strike - ?
Blue tick at the end - Last command's exit code. 0: Blue tick, non-zero: red cross.

Wondering what does the lightning strike indicate? Does not look like "power connected to laptop"? Does my understanding of other components look correct?

HappyTown
  • 6,036
  • 8
  • 38
  • 51
  • For questions about using and configuring UNIX tools / libraries / &c others wrote, as opposed to writing software, consider [unix.se] – Charles Duffy Nov 10 '22 at 18:16

1 Answers1

0

The lightning strike is indicating you are an admin/root user. See the docs for that specific segment.

Jan De Dobbeleer
  • 566
  • 4
  • 12