Cosmetic tweaks to the default shell rc files, mostly comments.

MFC after:	2 weeks
This commit is contained in:
trasz 2017-07-05 13:08:07 +00:00
parent affa7fe282
commit 79072a6617
4 changed files with 11 additions and 3 deletions

View File

@ -2,11 +2,11 @@
# #
# .login - csh login script, read by login shell, after `.cshrc' at login. # .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. # Query terminal size; useful for serial lines.
if ( -x /usr/bin/resizewin ) /usr/bin/resizewin -z 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 # if ( -x /usr/bin/fortune ) /usr/bin/fortune -s

View File

@ -9,4 +9,8 @@ export TERM
PAGER=more PAGER=more
export PAGER export PAGER
# Query terminal size; useful for serial lines.
if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi 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

View File

@ -2,8 +2,11 @@
# #
# .login - csh login script, read by login shell, after `.cshrc' at login. # .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 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 if ( -x /usr/bin/fortune ) /usr/bin/fortune freebsd-tips

View File

@ -24,4 +24,5 @@ ENV=$HOME/.shrc; export ENV
# Query terminal size; useful for serial lines. # Query terminal size; useful for serial lines.
if [ -x /usr/bin/resizewin ] ; then /usr/bin/resizewin -z ; fi 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 if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi