X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=91d1f5de8df17c7b700b20316bd83393801a0299;hb=fdbda4373a045a26e7025d90a2ae1a9fab4d12dd;hp=4cd696785c37fc1f05edce10e59303bef7a61be2;hpb=f9ef70cac91d3a9991efe987fa551a22dfbba426;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 4cd6967..91d1f5d 100644 --- a/zsh/rc +++ b/zsh/rc @@ -563,7 +563,7 @@ if [[ $TERM == screen* || $TERM == xterm* || $TERM == rxvt* ]]; then name=.zsh fi - # Prepend prefixes like in window_preexec(). + # Prepend prefixes like in zshrc_window_preexec(). if [[ $UID -eq 0 ]]; then name="!$name" fi @@ -846,9 +846,13 @@ fi # LOAD ADDITIONAL CONFIGURATION FILES -# Configuration option for rc.local to use GNU screen/tmux. By default GNU -# screen is used. Possible values: screen, tmux and empty (no value). +# Configuration options for rc.local. + +# 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 @@ -900,7 +904,7 @@ if [[ $TERM != dumb && $TERM != linux && -z $STY && -z $TMUX ]]; then fi fi -# Colorize stderr in red. Very useful when looking for errors. Thanks to +# Colorize stderr in bold red. Very useful when looking for errors. Thanks to # http://gentoo-wiki.com/wiki/Zsh for the basic script and Mikachu in #zsh on # Freenode (2010-03-07 04:03 CET) for some improvements (-r, printf). It's not # yet perfect and doesn't work with su and git for example, but it can handle @@ -929,7 +933,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 }