svn commit: r320672 - in head: etc/root share/skel

Edward Tomasz Napierala trasz at FreeBSD.org
Wed Jul 5 13:08:08 UTC 2017


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


More information about the svn-src-head mailing list