powerlevel10k is a popular zsh theme and my favorite one. However, branch names are truncated if these are pretty long.

Although, you can remove this limitation by updating its config file:

vim ~/.p10k.zsh

Search for the branch name and comment the line that’s doing the truncation:

# Tip: To always show local branch name in full without truncation, delete the next line.
# (( $#branch > 32 )) && branch[13,-13]="…"  # <-- this line

You might need to restart zsh

exec zsh