Search code examples
command-promptzshoh-my-zshzshrc

Zsh prompt doesn't work on startup


I have been playing around with zsh and on the initial startup of iterm2, I receive the following message:

The prompt then incorrectly outputs:

It should look like this:

This problem only happens on initial startup of iterm2, and displays the correctly formatted font when opening a new tab/window. How can I have the prompt start properly even on initial launch of iterm2?


Solution

  • Customized Zsh prompt works after unchecking "Load preferences from a custom folder or URL" from iTerm Preferences > General > Preferences

    My iTerm Preferences