summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-21 12:12:26 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-21 12:12:26 +0100
commitb21a30a7c0f20993d41a3a45c17623b799a13b46 (patch)
tree147d7c1a4a69a8b044c1794c14930492979d34fe
parent8c7c596d5a66ef742f624ff428778a8100be6507 (diff)
zprofile: Use ZLE colors
-rw-r--r--etc/profile12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/profile b/etc/profile
index 5461ebc..c51120a 100644
--- a/etc/profile
+++ b/etc/profile
@@ -3,15 +3,15 @@ setopt extended_glob
source $ZDIR/colors
function pr_info {
- print -P "${info}>>${reset} $*"
+ print -P "%F{cyan}>>%F{reset} $*"
}
echo
-pr_info "This is ${info}$(uname -srm)${reset} on ${info}%y${reset}"
-[[ -r /etc/gentoo-release ]] && pr_info "Running ${info}Gentoo${reset} ${$(cat /etc/gentoo-release)#(#i)gentoo }"
-[[ -r /etc/debian_version ]] && pr_info "Running ${info}Debian${reset} $(cat /etc/debian_version)"
-[[ -r /etc/arch-release ]] && pr_info "Running ${info}Arch${reset}"
-[[ -r /etc/redhat-release ]] && pr_info "Running ${info}Redhat${reset}"
+pr_info "This is %F{cyan}$(uname -srm)%F{reset} on %F{cyan}%y%F{reset}"
+[[ -r /etc/gentoo-release ]] && pr_info "Running %F{cyan}Gentoo%F{reset} ${$(cat /etc/gentoo-release)#(#i)gentoo }"
+[[ -r /etc/debian_version ]] && pr_info "Running %F{cyan}Debian%F{reset} $(cat /etc/debian_version)"
+[[ -r /etc/arch-release ]] && pr_info "Running %F{cyan}Arch%F{reset}"
+[[ -r /etc/redhat-release ]] && pr_info "Running %F{cyan}Redhat%F{reset}"
echo
[[ -n $(echo Maildir/new/*(N)) ]] && pr_info "You have mail!"