1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-01-27 04:30:35 +01:00
This commit is contained in:
Pedro Matias
2024-12-02 17:01:32 +00:00
committed by GitHub

View File

@@ -113,7 +113,7 @@ prompt_git() {
ref="◈ $(command git describe --exact-match --tags HEAD 2> /dev/null)" || \ ref="◈ $(command git describe --exact-match --tags HEAD 2> /dev/null)" || \
ref="➦ $(command git rev-parse --short HEAD 2> /dev/null)" ref="➦ $(command git rev-parse --short HEAD 2> /dev/null)"
if [[ -n $dirty ]]; then if [[ -n $dirty ]]; then
prompt_segment yellow black prompt_segment yellow $CURRENT_FG
else else
prompt_segment green $CURRENT_FG prompt_segment green $CURRENT_FG
fi fi