X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.zsh%2Fzshrc%2F85_prompt;h=51fd9b51b267dbc168d626f6dd03caf3e6f82dbf;hb=d1a7abb4d44890ae6605a73d246b2eaa20a09c08;hp=5ddbe823dfe7f8c14625ffae85f17cf54e30f6a6;hpb=29ff3db6dd936515eef1d15b34a42b6ffca4f4a5;p=zsh.git diff --git a/.zsh/zshrc/85_prompt b/.zsh/zshrc/85_prompt index 5ddbe82..51fd9b5 100644 --- a/.zsh/zshrc/85_prompt +++ b/.zsh/zshrc/85_prompt @@ -9,7 +9,7 @@ # if [ "${PS1:-}" = '%m%# ' ]; then - local _MIDDLE="%1v%(2v.|%B%2v%b|.)%(3v.%3v.)" + local _MIDDLE="${(%)psvar[1]}%(2v.|%B${(%)psvar[2]}%b|.)%(3v.${(%)psvar[3]}.)" if is_root; then _MIDDLE="%25<…<%~%<<" local _PS1_HL=U