summaryrefslogtreecommitdiff
path: root/etc/profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile')
-rw-r--r--etc/profile4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/profile b/etc/profile
index 4abd99f..823ffb0 100644
--- a/etc/profile
+++ b/etc/profile
@@ -1,4 +1,8 @@
## vim:ft=zsh
+
+# a part of this file uses functions loaded by the zshrc, which is parsed
+# after zprofile by default. So, at the end of the zshrc, zprofile is sourced
+# again and the section after the else is executed
if (( ZPROFILE == 0 )) {
source $HOME/packages/zsh/etc/colors
print -P "${info}>>${reset} this is ${info}$(uname -srm)${reset} on ${info}%y${reset}"