+ local git_status=" "
+ # Format tags
+ local tags=( $(git tag --points-at) )
+ if (( ${#tags} > 0 )); then
+ local icon=
+ (( ${#tags} > 1)) && icon=
+ git_status+="$icon%{$fg_bold[yellow]%}${(j:,:)tags}"
+ elif [[ "$head" == '(detached)' ]]; then
+ git_status+="%{$fg_bold[white]%}"
+ fi