summaryrefslogtreecommitdiff
path: root/etc/profile
blob: 4abd99fcb6034c65cc7f46e3d5f0c062584ae3f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
## vim:ft=zsh
if (( ZPROFILE == 0 )) {
	source $HOME/packages/zsh/etc/colors
	print -P "${info}>>${reset} this is ${info}$(uname -srm)${reset} on ${info}%y${reset}"
	[[ -n $(echo Maildir/new/*(N)) ]] && echo "${info}>>${reset} You have mail!"
	[[ -r $HOME/packages/zsh/etc/local-profile ]] && source $HOME/packages/zsh/etc/local-profile
	ZPROFILE=1
} else {
	check_com -c todo && [[ -r ~/var/gtd/todo ]] && gtd-todo
	check_com -c calendar && [[ -r ~/stuff/calendar ]] && calendar
	unset ZPROFILE
}