Date: Wed, 5 Jul 2017 13:08:07 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r320672 - in head: etc/root share/skel Message-ID: <201707051308.v65D87Rf006329@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Wed Jul 5 13:08:07 2017 New Revision: 320672 URL: https://svnweb.freebsd.org/changeset/base/320672 Log: Cosmetic tweaks to the default shell rc files, mostly comments. MFC after: 2 weeks Modified: head/etc/root/dot.login head/etc/root/dot.profile head/share/skel/dot.login head/share/skel/dot.profile Modified: head/etc/root/dot.login ============================================================================== --- head/etc/root/dot.login Wed Jul 5 10:43:27 2017 (r320671) +++ head/etc/root/dot.login Wed Jul 5 13:08:07 2017 (r320672) @@ -2,11 +2,11 @@ # # .login - csh login script, read by login shell, after `.cshrc' at login. # -# see also csh(1), environ(7). +# See also csh(1), environ(7). # # Query terminal size; useful for serial lines. if ( -x /usr/bin/resizewin ) /usr/bin/resizewin -z -# Uncomment to display a random cookie each login: +# Uncomment to display a random cookie on each login. # if ( -x /usr/bin/fortune ) /usr/bin/fortune -s Modified: head/etc/root/dot.profile ============================================================================== --- head/etc/root/dot.profile Wed Jul 5 10:43:27 2017 (r320671) +++ head/etc/root/dot.profile Wed Jul 5 13:08:07 2017 (r320672) @@ -9,4 +9,8 @@ export TERM PAGER=more export PAGER +# Query terminal size; useful for serial lines. if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi + +# Uncomment to display a random cookie on each login. +# if [ -x /usr/bin/resizewin ] ; then /usr/bin/fortune -s ; fi Modified: head/share/skel/dot.login ============================================================================== --- head/share/skel/dot.login Wed Jul 5 10:43:27 2017 (r320671) +++ head/share/skel/dot.login Wed Jul 5 13:08:07 2017 (r320672) @@ -2,8 +2,11 @@ # # .login - csh login script, read by login shell, after `.cshrc' at login. # -# see also csh(1), environ(7). +# See also csh(1), environ(7). # +# Query terminal size; useful for serial lines. if ( -x /usr/bin/resizewin ) /usr/bin/resizewin -z + +# Display a random cookie on each login. if ( -x /usr/bin/fortune ) /usr/bin/fortune freebsd-tips Modified: head/share/skel/dot.profile ============================================================================== --- head/share/skel/dot.profile Wed Jul 5 10:43:27 2017 (r320671) +++ head/share/skel/dot.profile Wed Jul 5 13:08:07 2017 (r320672) @@ -24,4 +24,5 @@ ENV=$HOME/.shrc; export ENV # Query terminal size; useful for serial lines. if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi +# Display a random cookie on each login. if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707051308.v65D87Rf006329>