diff options
author | rwatson <rwatson@FreeBSD.org> | 2000-03-25 20:23:39 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2000-03-25 20:23:39 +0000 |
commit | ba0bae3b55f8699bb00e518f4a5d704212048665 (patch) | |
tree | 0e28f1dd9dda78487b0c30e574bc80757c47eb2d /etc/root/dot.login | |
parent | e5570010b30214f9efe4b9f04e84423be7607e9e (diff) | |
download | FreeBSD-src-ba0bae3b55f8699bb00e518f4a5d704212048665.zip FreeBSD-src-ba0bae3b55f8699bb00e518f4a5d704212048665.tar.gz |
o Migrate path, umask from dot.login to dot.cshrc
o Comment out display of fortune by default.
o Synch root's .cshrc/.login and non-root's .cshrc/.login in terms of
gratuitous variables set (EDITOR).
o Remove some commented out variables set inconsistently or gratuitously,
such as Interviews settings, 8-bit German locale for root only.
o Synchronize comments in header, as well as references to appropriate man
pages.
o Remove MANPATH setting as apparently /etc/manpath.config does all that
already.
Similar changes probably need to be made in other dot.* files for root
and skel, as all of these files seem to set different aliases, environmental
variables, prompts, and have different semantics.
As a result of this patch, leaving aside the setting of a special prompt
for root, users of csh and tcsh should find similar environments when
logging in or su'ing to any account using that shell.
Reviewed by: asmodai, nbm, will
Diffstat (limited to 'etc/root/dot.login')
-rw-r--r-- | etc/root/dot.login | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/etc/root/dot.login b/etc/root/dot.login index 659db13..5a45f10 100644 --- a/etc/root/dot.login +++ b/etc/root/dot.login @@ -1,17 +1,9 @@ # $FreeBSD$ # -# csh .login file +# .login - csh login script, read by login shell, after `.cshrc' at login. +# +# see also csh(1), environ(7). # -# Interviews settings -#setenv CPU "FREEBSD" -#set path = ($path /usr/local/interviews/bin/$CPU) -#setenv MANPATH "${MANPATH}:/usr/local/interviews/man" - -# 8-bit locale (Germany) -#setenv LANG de_DE.ISO_8859-1 - -# A righteous umask -umask 22 - -[ -x /usr/games/fortune ] && /usr/games/fortune +# Uncomment to display a random cookie each login: +# [ -x /usr/games/fortune ] && /usr/games/fortune |