summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-11-22 12:27:03 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-11-22 12:27:03 +0100
commit9fc91f8ca80c4dd8b109350d01e4a26993dcb71e (patch)
tree77513b1cdf24df007275ce8c8f6cf0ab108388aa
parent8f967f19f6e0183c31932a037cffddd47a4fbf50 (diff)
zshrc: Use print -P instead of \e witchery
-rw-r--r--etc/rc3
1 files changed, 1 insertions, 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