]> err.no Git - dotfiles/commitdiff
More escapes to unconfuse zsh
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Fri, 25 Sep 2009 11:16:08 +0000 (11:16 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Fri, 25 Sep 2009 11:16:08 +0000 (11:16 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@1404 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

zshrc

diff --git a/zshrc b/zshrc
index 26da8ac381afd5dc824ffdb46de92966a3353968..fd89de2593420e5252cf09e4bea5d3d47bf5b2c8 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -33,7 +33,7 @@ if [ $ZSH_VERSION = 4.3.6 ]; then
     # Lenny's zsh doesn't have %F
     FG_RED=$(tput setf 4)
     FG_BLACK=$(tput setf 0)
-    PROMPT=': %(!.'"$FG_RED"'.)%U%n@%m%u%(!.'"$FG_BLACK"'.)'${CHROOT}' ${vcs_info_msg_0_}%B%30<..<%~%b %(!.#.>) '
+    PROMPT=': %(!.%{'"$FG_RED"'%}.)%U%n@%m%u%(!.%{'"$FG_BLACK"'%}.)'${CHROOT}' ${vcs_info_msg_0_}%B%30<..<%~%b %(!.#.>) '
 else
     PROMPT=': %(!.%F{red}.)%U%n@%m%u%(!.%f.)'${CHROOT}' ${vcs_info_msg_0_}%B%30<..<%~%b %(!.#.>) '
 fi