about summary refs log tree commit diff
path: root/StartupFiles/zlogin
blob: f510fd825a0e6675249fe26bdc1a1fc509ce9f2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
# Generic .zlogin file for zsh 2.7
#
# .zlogin is sourced in login shells.  It should
# contain commands that should be executed only in
# login shells.  It should be used to set the terminal
# type and run a series of external commands (fortune,
# msgs, from, etc).
#

clear
stty dec new cr0 -tabs
ttyctl -f  # freeze the terminal modes... can't change without a ttyctl -u
mesg y
uptime
fortune
log
from 2>/dev/null
cat notes
msgs -fp