summaryrefslogtreecommitdiff
path: root/source/y/bsd-games/bsd-games-login-fortune.csh
blob: 70842516e97eb702a48ec15ad8c0cca6ce45323b (plain)
1
2
3
4
5
6
#!/bin/csh
# Print a fortune cookie for login shells:

if ( { tty --silent } ) then >& /dev/null
  echo "" ; fortune fortunes fortunes2 linuxcookie ; echo ""
endif