From 9fc91f8ca80c4dd8b109350d01e4a26993dcb71e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 22 Nov 2009 12:27:03 +0100 Subject: zshrc: Use print -P instead of \e witchery --- etc/rc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/rc b/etc/rc index 593bf3e..7e15436 100644 --- a/etc/rc +++ b/etc/rc @@ -21,7 +21,7 @@ if [[ $system == linux ]] { # {{{ Startup infos function zrc_info { - echo "\e[0;31m>>\e[0m $*" + print -P "%F{red}>>%F{default} $*" } # }}} @@ -534,7 +534,6 @@ compdef _functions reload # }}} # {{{ Cleanup -echo -n "\r\e[2K" unalias 'linux:' unfunction zrc_info unfunction xsource -- cgit v1.2.3