From fdbda4373a045a26e7025d90a2ae1a9fab4d12dd Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 24 Oct 2013 10:46:13 +0200 Subject: [PATCH] zsh/rc: Add zshrc_fortune_arguments configuration variable. --- zsh/rc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/rc b/zsh/rc index 7f05bbf..91d1f5d 100644 --- a/zsh/rc +++ b/zsh/rc @@ -851,6 +851,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 +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 } -- 2.45.2