You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That would indeed be a nice-to-have feature. It seems that the option --all or --tags needs to be specified to make it work with all kinds of tags (c.f. https://stackoverflow.com/a/61182221).
~/zsh-git-prompt[:7f406e4 L|✔]$ git describe --exact-match
fatal: no tag exactly matches '7f406e4d66ce7b286899ab18d6d482435d92fcb8'
~/zsh-git-prompt[:7f406e4 L|✔]$ git describe --exact-match --tags
v0.6
alewis001
pushed a commit
to alewis001/zsh-git-prompt
that referenced
this issue
Feb 13, 2024
…it-prompt#29)
In the section of `brew` commands, when the copy button has been used, the character `$` is copied together with the brew command and It causes an error on the user terminal.
Removing the `$` character promotes the best experience for users.
I had previously implemented this years ago in a fork of a prior incarnation of this project.
If you use
git describe --exact-match
you can access the current git tag as opposed to a SHA.This aids in readability for some workflows.
The text was updated successfully, but these errors were encountered: