Date: Tue, 14 Nov 2017 17:05:35 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r325815 - in stable/11: etc/root share/skel Message-ID: <201711141705.vAEH5ZEj048100@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Tue Nov 14 17:05:34 2017 New Revision: 325815 URL: https://svnweb.freebsd.org/changeset/base/325815 Log: MFC r320672: Cosmetic tweaks to the default shell rc files, mostly comments. MFC r320678: Fix typo introduced in r320672 - check for existence of the right file. Modified: stable/11/etc/root/dot.login stable/11/etc/root/dot.profile stable/11/share/skel/dot.login stable/11/share/skel/dot.profile Directory Properties: stable/11/ (props changed) Modified: stable/11/etc/root/dot.login ============================================================================== --- stable/11/etc/root/dot.login Tue Nov 14 17:03:56 2017 (r325814) +++ stable/11/etc/root/dot.login Tue Nov 14 17:05:34 2017 (r325815) @@ -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: stable/11/etc/root/dot.profile ============================================================================== --- stable/11/etc/root/dot.profile Tue Nov 14 17:03:56 2017 (r325814) +++ stable/11/etc/root/dot.profile Tue Nov 14 17:05:34 2017 (r325815) @@ -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/fortune ] ; then /usr/bin/fortune -s ; fi Modified: stable/11/share/skel/dot.login ============================================================================== --- stable/11/share/skel/dot.login Tue Nov 14 17:03:56 2017 (r325814) +++ stable/11/share/skel/dot.login Tue Nov 14 17:05:34 2017 (r325815) @@ -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: stable/11/share/skel/dot.profile ============================================================================== --- stable/11/share/skel/dot.profile Tue Nov 14 17:03:56 2017 (r325814) +++ stable/11/share/skel/dot.profile Tue Nov 14 17:05:34 2017 (r325815) @@ -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?201711141705.vAEH5ZEj048100>