X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=2d7331ceaf89c95fcd311f327029f229fc632255;hb=236d8125f35d68d4277d4e40d71fbb384750ed94;hp=7f05bbf4b4a5eb4958f41f8b6457f6279f616423;hpb=9dd2f3603520a2f30bf1f4f814ca9fbe00b9504c;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 7f05bbf..2d7331c 100644 --- 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 @@ -851,6 +850,8 @@ fi # 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 @@ -931,7 +932,7 @@ fi PERIOD=14400 periodic() { # Display fortunes. - (( $+commands[fortune] )) && fortune -ac + (( $+commands[fortune] )) && fortune -ac "${zshrc_fortune_arguments[@]}" # Display reminders. (( $+commands[rem] )) && [[ -f ~/.reminders ]] && rem -h }