diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2000-03-25 20:23:39 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2000-03-25 20:23:39 +0000 |
commit | bddc1909cfe20eb29d92d96321a0d34a17718921 (patch) | |
tree | 0919ea17b2b5caa76b79b525aa4f401080a2f16c /etc/root/dot.cshrc | |
parent | c2c0fac9c9550f9028ead47c4a3732d6084ffb2b (diff) | |
download | src-bddc1909cfe20eb29d92d96321a0d34a17718921.tar.gz src-bddc1909cfe20eb29d92d96321a0d34a17718921.zip |
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
Notes
Notes:
svn path=/head/; revision=58570
Diffstat (limited to 'etc/root/dot.cshrc')
-rw-r--r-- | etc/root/dot.cshrc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc index 38a71cfbcbfc..ac92258f9640 100644 --- a/etc/root/dot.cshrc +++ b/etc/root/dot.cshrc @@ -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 +# 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 MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man" +setenv EDITOR vi setenv PAGER more setenv BLOCKSIZE K |