Restore original prompt
authorPierre Schmitz <pierre@archlinux.de>
Mon, 17 Dec 2012 13:43:17 +0000 (14:43 +0100)
committerFrank Terbeck <ft@grml.org>
Mon, 17 Dec 2012 15:19:26 +0000 (16:19 +0100)
This reverts the changes to the prompt introduced by commit 843931fc6e0ef4c638b3fe253fdb48e083415221

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
etc/zsh/zshrc

index 37d3943..50fac90 100644 (file)
@@ -1400,9 +1400,9 @@ ${BLUE}%n${NO_COLOR}@%m %40<...<%B%~%b%<< "
     else
         # This assembles the primary prompt string
         if (( EUID != 0 )); then
-            PROMPT="%B${RED}${EXITCODE}${WHITE}${debian_chroot:+($debian_chroot)}${BLUE}%b%n${NO_COLOR}@${CYAN}%m${NO_COLOR} %40<...<%B%~%b%<< "
+            PROMPT="${RED}${EXITCODE}${WHITE}${debian_chroot:+($debian_chroot)}${BLUE}%n${NO_COLOR}@%m %40<...<%B%~%b%<< "
         else
-            PROMPT="%B${BLUE}${EXITCODE}${WHITE}${debian_chroot:+($debian_chroot)}${RED}%b%n${NO_COLOR}@${CYAN}%m${NO_COLOR} %40<...<%B%~%b%<< "
+            PROMPT="${BLUE}${EXITCODE}${WHITE}${debian_chroot:+($debian_chroot)}${RED}%n${NO_COLOR}@%m %40<...<%B%~%b%<< "
         fi
     fi
 fi