summaryrefslogtreecommitdiff
path: root/00_Sanity.zsh
diff options
context:
space:
mode:
Diffstat (limited to '00_Sanity.zsh')
-rw-r--r--00_Sanity.zsh19
1 files changed, 19 insertions, 0 deletions
diff --git a/00_Sanity.zsh b/00_Sanity.zsh
new file mode 100644
index 0000000..b76865a
--- /dev/null
+++ b/00_Sanity.zsh
@@ -0,0 +1,19 @@
+##
+## Part of configuration files for Zsh 4
+## by Hugues Hiegel <hugues@hiegel.fr>
+##
+## NO WARRANTY PROVIDED, USE AT YOUR OWN RISKS
+##
+## You are encouraged to use, modify, and redistribute
+## these files with or without this notice.
+##
+
+# No more core dumps :)
+ulimit -c 0
+
+# No dangerous world-writeable files & folders
+umask 002
+
+# sanity
+[[ -t 0 ]] && /bin/stty erase "^H" intr "^C" susp "^Z" dsusp "^Y" stop "^S" start "^Q" kill "^U" >& /dev/null
+