X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/ff86fd35a22ff7e9e14762fdf9b29ec047f5c711..850b4a66843eb139ed7bf5ea8779398143060598:/.zsh/zshrc/85_prompt?ds=sidebyside diff --git a/.zsh/zshrc/85_prompt b/.zsh/zshrc/85_prompt index 22a5e34..ccb88e1 100644 --- a/.zsh/zshrc/85_prompt +++ b/.zsh/zshrc/85_prompt @@ -9,7 +9,7 @@ # if [ "${PS1:-}" = '%m%# ' ]; then - local _MIDDLE="${(%)psvar[1]}%(2v.|%B${(%)psvar[2]}%b|.)%(3v.${(%)psvar[3]}.)" + local _MIDDLE="%1v%(2v.|%B%2v%b|.)%(3v.%3v.)" if is_root; then _MIDDLE="%25<…<%~%<<" local _PS1_HL=U