summaryrefslogtreecommitdiffstats
path: root/share/skel
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-05-14 15:23:06 +0000
committerbdrewery <bdrewery@FreeBSD.org>2014-05-14 15:23:06 +0000
commitcfa08852ae1d58cfaea1ef71612407cbae87f241 (patch)
tree3a9b1d5e09d081dc4a770ec0421337114da45952 /share/skel
parentc8a6d26c3cb398551768cd23ce6b3bea7011f3a2 (diff)
downloadFreeBSD-src-cfa08852ae1d58cfaea1ef71612407cbae87f241.zip
FreeBSD-src-cfa08852ae1d58cfaea1ef71612407cbae87f241.tar.gz
MFC r264465:
Prefer /etc/login.conf for some of these environment values.
Diffstat (limited to 'share/skel')
-rw-r--r--share/skel/dot.cshrc9
-rw-r--r--share/skel/dot.profile7
2 files changed, 9 insertions, 7 deletions
diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc
index 3e94371..d6c6798 100644
--- a/share/skel/dot.cshrc
+++ b/share/skel/dot.cshrc
@@ -12,14 +12,15 @@ alias la ls -aF
alias lf ls -FA
alias ll ls -lAF
+# These are normally set through /etc/login.conf. You may override them here
+# if wanted.
+# set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
+# setenv BLOCKSIZE K
# A righteous umask
-umask 22
-
-set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
+# umask 22
setenv EDITOR vi
setenv PAGER more
-setenv BLOCKSIZE K
if ($?prompt) then
# An interactive shell -- set some stuff up
diff --git a/share/skel/dot.profile b/share/skel/dot.profile
index 34398ad..300402a 100644
--- a/share/skel/dot.profile
+++ b/share/skel/dot.profile
@@ -5,15 +5,16 @@
# see also sh(1), environ(7).
#
-# remove /usr/games if you want
-PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH
+# These are normally set through /etc/login.conf. You may override them here
+# if wanted.
+# PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:$HOME/bin; export PATH
+# BLOCKSIZE=K; export BLOCKSIZE
# Setting TERM is normally done through /etc/ttys. Do only override
# if you're sure that you'll never log in via telnet or xterm or a
# serial line.
# TERM=xterm; export TERM
-BLOCKSIZE=K; export BLOCKSIZE
EDITOR=vi; export EDITOR
PAGER=more; export PAGER
OpenPOWER on IntegriCloud