简体   繁体   中英

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?

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

我的iTerm首选项

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM