1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-06 07:36:20 +02:00
zsh/StartupFiles/zlogin
2001-03-25 23:41:02 +00:00

24 lines
581 B
Bash

#
# 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).
#
# THIS FILE IS NOT INTENDED TO BE USED AS /etc/zlogin, NOR WITHOUT EDITING
return 0 # Remove this line after editing this file as appropriate
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