zsh中设置PS1

export PS1="%{%F{green}%}%M$ %{%F{red}%}%"

参考how-can-i-change-the-color-of-my-prompt-in-zsh-different-from-normal-textcode

相关文章
相关标签/搜索