Sorry if this is a stupid question, this is no bug or anything, just pure curiosity.
I'm using Ubuntu on WSL2, having installed powerlevel10k on oh-my-zsh.
What is that weird question-mark-number next to the git branch name, what does it mean?
Sorry if this is a stupid question, this is no bug or anything, just pure curiosity.
I'm using Ubuntu on WSL2, having installed powerlevel10k on oh-my-zsh.
What is that weird question-mark-number next to the git branch name, what does it mean?
You have 1 untracked file in your repo. Do git status --short and you'll see the same symbol.
Most prompt themes, however, aren't based on git status, but instead use the symbols defined in git-prompt.sh (or some variation thereof), which is distributed with git itself:
| Symbol | Meaning |
|---|---|
* |
unstaged |
+ |
staged |
$ |
stash |
% |
untracked files |
< |
behind |
> |
ahead |
<> |
diverged |
= |
no difference |
| |
operation in progress |
? |
sparse checkout |
When in doubt, check your prompt theme's documentation. They usually have a list of symbols somewhere.