bindkey -e # Emacs-style commandline editing
-PROMPT=': %(!.%F{red}.)%U%n@%m%u%(!.%f.)'${CHROOT}' ${vcs_info_msg_0_}%B%30<..<%~%b %(!.#.>) '
+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 %(!.#.>) '
+else
+ PROMPT=': %(!.%F{red}.)%U%n@%m%u%(!.%f.)'${CHROOT}' ${vcs_info_msg_0_}%B%30<..<%~%b %(!.#.>) '
+fi
case `uname -s` in
"FreeBSD")