svn commit: r325815 - in stable/11: etc/root share/skel
Edward Tomasz Napierala
trasz at FreeBSD.org
Tue Nov 14 17:05:36 UTC 2017
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
More information about the svn-src-stable-11
mailing list