# 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
# Multiplexer to use. By default GNU screen is used. Possible values: screen,
# tmux and empty (no multiplexer).
zshrc_use_multiplexer=screen
+# Additional arguments for fortune.
+zshrc_fortune_arguments=()
source_config ~/.zsh/rc.local
PERIOD=14400
periodic() {
# Display fortunes.
- (( $+commands[fortune] )) && fortune -ac
+ (( $+commands[fortune] )) && fortune -ac "${zshrc_fortune_arguments[@]}"
# Display reminders.
(( $+commands[rem] )) && [[ -f ~/.reminders ]] && rem -h
}