mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
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
This commit is contained in:
parent
c2c0fac9c9
commit
bddc1909cf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58570
@ -1,6 +1,9 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
#csh .cshrc file
|
||||
# .cshrc - csh resource script, read at beginning of execution by each shell
|
||||
#
|
||||
# see also csh(1), environ(7).
|
||||
#
|
||||
|
||||
alias h history 25
|
||||
alias j jobs -l
|
||||
@ -8,9 +11,12 @@ alias la ls -a
|
||||
alias lf ls -FA
|
||||
alias ll ls -lA
|
||||
|
||||
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
|
||||
setenv MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man"
|
||||
# A rightous umask
|
||||
umask 22
|
||||
|
||||
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
|
||||
|
||||
setenv EDITOR vi
|
||||
setenv PAGER more
|
||||
setenv BLOCKSIZE K
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,7 +1,6 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
# .cshrc - csh resource script, read at beginning
|
||||
# of execution by each shell
|
||||
# .cshrc - csh resource script, read at beginning of execution by each shell
|
||||
#
|
||||
# see also csh(1), environ(7).
|
||||
#
|
||||
@ -12,6 +11,11 @@ alias la ls -a
|
||||
alias lf ls -FA
|
||||
alias ll ls -lA
|
||||
|
||||
# A rightous umask
|
||||
umask 22
|
||||
|
||||
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
|
||||
|
||||
setenv EDITOR vi
|
||||
setenv PAGER more
|
||||
setenv BLOCKSIZE K
|
||||
|
@ -1,20 +1,9 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
# .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).
|
||||
#
|
||||
|
||||
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/bin /usr/X11R6/bin $HOME/bin)
|
||||
#setenv MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man"
|
||||
|
||||
# Interviews settings
|
||||
#setenv CPU "FREEBSD"
|
||||
#set path = ($path /usr/local/interviews/bin/$CPU)
|
||||
#setenv MANPATH "${MANPATH}:/usr/local/interviews/man"
|
||||
|
||||
# A rightous umask
|
||||
umask 22
|
||||
|
||||
[ -x /usr/games/fortune ] && /usr/games/fortune -s
|
||||
# Uncomment to display a random cookie each login:
|
||||
# [ -x /usr/games/fortune ] && /usr/games/fortune -s
|
||||
|
Loading…
Reference in New Issue
Block a user