]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/rc
shell/rc,tmux.conf: Auto-logout on TTYs after timeout.
[config/dotfiles.git] / zsh / rc
diff --git a/zsh/rc b/zsh/rc
index 91d1f5de8df17c7b700b20316bd83393801a0299..869167906cdc85b64131a945a2ffe38a65eb55cd 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -50,10 +50,11 @@ 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
+# Prevent warnings.
+typeset -g TMOUT
+# Load general shell setup commands. NOTE: Expand this when publishing the
+# config.
+source_config ~/.shell/rc
 
 # Disable beeps.
 setopt nobeep