1 # $Id: .zlogin,v 1.1 2004/06/10 09:59:46 dope Exp dope $
3 # .zlogin is sourced in login shells. It should contain commands that
4 # should be executed only in login shells. It should be used to run a
5 # series of external commands (fortune, msgs, etc).
7 # Check incoming ftp files.
8 if [[ $(uname -n) = painless ]]
10 INCOMING=/home/ftp/pub/incoming
11 if [[ -d ${INCOMING} ]]
15 [[ -a .timestamp ]] || touch .timestamp
17 for file in ^.timestamp
18 [[ $file -nt .timestamp ]] && newfiles=( $newfiles $file )
21 echo "New files in ${INCOMING}:"
30 # Check for TODO-entry
33 echo "Note: New TODO - entry!"