X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/7d0214a8b70382574bc22519e1bf4442863bf4fd..6698a8a0d2da74a08c95a2c5289e9e2e771efdee:/.zsh/zshrc/80_prompt?ds=sidebyside diff --git a/.zsh/zshrc/80_prompt b/.zsh/zshrc/80_prompt index d42b76c..a2b18eb 100644 --- a/.zsh/zshrc/80_prompt +++ b/.zsh/zshrc/80_prompt @@ -16,7 +16,7 @@ if [ "${PS1:-}" = '%m%# ' ]; then fi _MACHINE_NAME="${_PS1_HL:=B}%m%${(L)_PS1_HL}" - _MACHINE_NAME="$_MACHINE_NAME${debian_chroot:+/$debian_chroot}" + _MACHINE_NAME="$_MACHINE_NAME${debian_chroot:+/%S$debian_chroot%s}" PS1="%(2L.+.)%${_MACHINE_NAME}:${_MIDDLE}%# "