Automatically exec bash at startup if it exists^U Turn on the display of

tips from the freebsd-tips database at login time.
This commit is contained in:
Nik Clayton 2001-06-25 20:40:02 +00:00
parent efe4cd6a18
commit 9f1f5e8d53
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78771
2 changed files with 3 additions and 2 deletions

View File

@ -5,5 +5,4 @@
# see also csh(1), environ(7).
#
# Uncomment to display a random cookie each login:
# [ -x /usr/games/fortune ] && /usr/games/fortune -s
[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips

View File

@ -20,3 +20,5 @@ PAGER=more; export PAGER
# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV
[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips