Zsh: fix bug in custom prompt code.