]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Update umask settings in zsh.
authorSimon Ruderich <simon@ruderich.org>
Sun, 21 Sep 2008 16:52:12 +0000 (18:52 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 16 Feb 2009 15:34:38 +0000 (16:34 +0100)
zsh/rc

diff --git a/zsh/rc b/zsh/rc
index 9b42bd102848da812253495902a5aa12607c347a..76d0b29830b67ff65a72f58302025d5417a340d0 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -4,6 +4,9 @@
 # Use Vi(m) style key bindings.
 bindkey -v
 
+# Be paranoid, new files are readable/writable by me only.
+umask 077
+
 # Use history and store it in ~/.zsh/history.
 HISTSIZE=1000
 SAVEHIST=1000