This is the problem: PROMPT+='%{$(git_info)%}' Fix: PROMPT+='$(git_info)' I've provided more details in https://github.com/robbyrussell/oh-my-zsh/issues/7945. Roman. >