Closed pacifi5t closed 3 months ago
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
Code of Conduct
What happened?
Hi! I've been trying to create a custom config for my prompt and got this issue. I was going to use only
.Ref
, but I included.HEAD
for clarity. Here's how it looks:According to documentation
.Ref
should show the tag for the current commit (if there's one, of course):By the way, shouldn't
.Ref
also display the commit hash when detached? I mean, I don't really see the point in showing(detached)
in this case since we already have the.Detached
property and can display this message ourselves.Theme
And here's the config for the git segment:
What OS are you seeing the problem on?
Linux
Which shell are you using?
zsh
Log output