Skip to content

Commit

Permalink
Automatically exec bash at startup if it exists^U Turn on the display of
Browse files Browse the repository at this point in the history
tips from the freebsd-tips database at login time.
  • Loading branch information
Nik Clayton authored and Nik Clayton committed Jun 25, 2001
1 parent efe4cd6 commit 9f1f5e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions share/skel/dot.login
Expand Up @@ -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
2 changes: 2 additions & 0 deletions share/skel/dot.profile
Expand Up @@ -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

0 comments on commit 9f1f5e8

Please sign in to comment.