-
Beta Was this translation helpful? Give feedback.
Answered by
ericbn
May 7, 2023
Replies: 1 comment 1 reply
-
Hi @palango. Our asciitheme is inspired by starship, and as far as I've used that theme, it also does not show the tag name by default, so that's why we kept our theme that way. You can customize asciiship to show the commits from nearest tag count (when in 'detached HEAD' state) using: zstyle ':zim:git-info:position' format 'HEAD %F{green}(%p)'
zstyle ':zim:git-info:keys' format \
'status' '%S%I%i%A%B' \
'prompt' ' on %%B%F{magenta}%b%p%s${(e)git_info[status]:+" %F{red}[${(e)git_info[status]}]"}%f%%b' Our themes use our git-info module to show git information. You can learn more about how to customize it by checking its settings documentation. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
palango
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @palango. Our asciitheme is inspired by starship, and as far as I've used that theme, it also does not show the tag name by default, so that's why we kept our theme that way.
You can customize asciiship to show the commits from nearest tag count (when in 'detached HEAD' state) using:
Our themes use our git-info module to show git information. You can learn more about how to customize it by checking its settings documentation.