summaryrefslogtreecommitdiff
path: root/.zlogin
blob: 0ad68f6dc14f352e388af4e72dddf8e7599bd79b (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
37

#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 && screen -list | strings | grep -v "^No Sockets found" > .tmp.screen-list
[ -s .tmp.screen-list ] \
&& preprint "screen" $color[bold] && echo \
&& < .tmp.screen-list \
&& rm -f .tmp.screen-list


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

#cmd_exists remind && remind -n

cmd_exists keychain && eval $(keychain --eval --inherit any-once --quick)
#keychain id_dsa 593F1F92

true