From: tfheen Date: Fri, 25 Sep 2009 11:16:08 +0000 (+0000) Subject: More escapes to unconfuse zsh X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=037b453c2dc559ce16de696eb69e6071f159ab5e;p=dotfiles More escapes to unconfuse zsh git-svn-id: file:///svn/tfheen/trunk/dotfiles@1404 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/zshrc b/zshrc index 26da8ac..fd89de2 100644 --- 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