summaryrefslogtreecommitdiffstats
path: root/share/skel/dot.cshrc
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2000-03-25 20:23:39 +0000
committerrwatson <rwatson@FreeBSD.org>2000-03-25 20:23:39 +0000
commitba0bae3b55f8699bb00e518f4a5d704212048665 (patch)
tree0e28f1dd9dda78487b0c30e574bc80757c47eb2d /share/skel/dot.cshrc
parente5570010b30214f9efe4b9f04e84423be7607e9e (diff)
downloadFreeBSD-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 'share/skel/dot.cshrc')
-rw-r--r--share/skel/dot.cshrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc
index 45f3767..490a6947 100644
--- a/share/skel/dot.cshrc
+++ b/share/skel/dot.cshrc
@@ -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
OpenPOWER on IntegriCloud