X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/386bc889f8ab9ee182381b5009b3ddf8c93344cf..d1a7abb4d44890ae6605a73d246b2eaa20a09c08:/.zsh/zshrc/85_prompt 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