diff options
author | nik <nik@FreeBSD.org> | 2001-06-25 20:40:02 +0000 |
---|---|---|
committer | nik <nik@FreeBSD.org> | 2001-06-25 20:40:02 +0000 |
commit | bd6ce907343111864c42a217bb38c964545b0ee2 (patch) | |
tree | 6dba0cecc714248fbb0d4be091e824b663062e08 /share | |
parent | bf604b8765005dec6107db2cbc459ed486e206ea (diff) | |
download | FreeBSD-src-bd6ce907343111864c42a217bb38c964545b0ee2.zip FreeBSD-src-bd6ce907343111864c42a217bb38c964545b0ee2.tar.gz |
Automatically exec bash at startup if it exists^U Turn on the display of
tips from the freebsd-tips database at login time.
Diffstat (limited to 'share')
-rw-r--r-- | share/skel/dot.login | 3 | ||||
-rw-r--r-- | share/skel/dot.profile | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/share/skel/dot.login b/share/skel/dot.login index 3032ef9..894021a 100644 --- a/share/skel/dot.login +++ b/share/skel/dot.login @@ -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 diff --git a/share/skel/dot.profile b/share/skel/dot.profile index a5d3713..cba626c 100644 --- a/share/skel/dot.profile +++ b/share/skel/dot.profile @@ -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 |