]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/rc
*/rc: Move umask code from zsh/rc to shell/rc.
[config/dotfiles.git] / zsh / rc
diff --git a/zsh/rc b/zsh/rc
index 91d1f5de8df17c7b700b20316bd83393801a0299..2d7331ceaf89c95fcd311f327029f229fc632255 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -50,10 +50,9 @@ zshrc_resolve_fg_to_resumed_job_name() {
 
 # MISCELLANEOUS SETTINGS
 
-# Be paranoid, new files are readable/writable by me only, but not as root.
-if [[ $UID -ne 0 ]]; then
-    umask 077
-fi
+# Load general shell setup commands. NOTE: Expand this when publishing the
+# config.
+source_config ~/.shell/rc
 
 # Disable beeps.
 setopt nobeep