From: martin f. krafft Date: Sat, 17 May 2008 11:14:04 +0000 (+0100) Subject: make debian chroot stand out X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/8ce1ca175d6bd1e6297346140884357cb51d0625?hp=--cc;pf=etc make debian chroot stand out --- 8ce1ca175d6bd1e6297346140884357cb51d0625 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}%# "