我想在提示中的路径后添加美元符号。
当前提示是:
.oh-my-zsh git:(master)
想要的提示是:
.oh-my-zsh git:(master) $
我试图在PROMPT
中修改~/.zshrc
,但没有成功。
PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}$ % %{$reset_color%}'