X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/7d0214a8b70382574bc22519e1bf4442863bf4fd..8ce1ca175d6bd1e6297346140884357cb51d0625:/.zsh/zshrc/80_prompt 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}%# "