summaryrefslogtreecommitdiff
path: root/.zlogin
blob: 753030b8c414963da9ca8b3aaa48175d5cd25c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

#for _col in {1..$COLUMNS} ; do echo -n "_" ; done ;\ echo;\
if cmd_exists when
then

	LATEST=`stat 2>&- --printf="%z\n" ~/.when/.today | cut -d' ' -f1`
	TODAY=`date "+%Y-%m-%d"`	

	if [ "$TODAY" != "$LATEST" ]
	then
		when w --calendar=~/.when/birthdays | tail -n+3 > ~/.when/.today
	fi

	if [ -s ~/.when/.today ]
	then
		preprint "événements" $color[bold] ; echo
		cat ~/.when/.today
	fi
fi
#cmd_exists calendar && calendar -A0 | sed "s/\(\*.*\)/\1/;s/\(\*.*\*\)/\1/" ;\

cmd_exists screen && [ "$(find /var/run/screen/S-$USER/ ! -type d | wc -l)" -gt 0 ] &&\
preprint "screen" $color[bold] && echo &&\
screen -list

#preprint "calendrier" $color[bold] ; echo
#[ -x ~/sbin//calendrier ] && ~/sbin/calendrier

#cmd_exists remind && remind -n
#
#cmd_exists keychain && eval $(keychain --eval --quiet --quick --inherit any-once --stop others)
#cmd_exists keychain && keychain --quiet --quick --clear
#keychain id_dsa 593F1F92

chpwd
true