summaryrefslogtreecommitdiffstats
path: root/csh.login
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2007-09-11 12:39:51 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2007-09-11 12:39:51 +0000
commit25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d (patch)
tree9afa5ad3fecc7aca66222da768ba0245ae479d65 /csh.login
downloadsetup-25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d.tar
setup-25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d.tar.gz
setup-25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d.tar.bz2
setup-25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d.tar.xz
setup-25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d.zip
move everything under trunk directory
Diffstat (limited to 'csh.login')
-rw-r--r--csh.login34
1 files changed, 34 insertions, 0 deletions
diff --git a/csh.login b/csh.login
new file mode 100644
index 0000000..564c232
--- /dev/null
+++ b/csh.login
@@ -0,0 +1,34 @@
+# /etc/csh.login
+
+# System wide environment and startup programs for csh users
+
+
+if ( ! $?PATH ) then
+ setenv PATH "/bin:/usr/bin:/usr/local/bin"
+endif
+
+# (pixel) tcsh doesn't handle directory in the PATH being non-readable
+# in security high, /usr/bin is 751, aka non-readable
+# using unhash *after modifying PATH* fixes the pb
+if (! -r /usr/bin) then
+ unhash
+endif
+
+limit coredumpsize unlimited
+
+if ( $user == $group && $uid > 14 ) then
+ umask 022
+else
+ umask 002
+endif
+
+setenv HOSTNAME `/bin/hostname`
+set history=1000
+
+if ( -f $HOME/.inputrc ) then
+ setenv INPUTRC /etc/inputrc
+endif
+
+if ( $?tcsh ) then
+ bindkey "^[[3~" delete-char
+endif