From: Simon Ruderich Date: Thu, 11 Apr 2013 22:30:16 +0000 (+0200) Subject: zsh/rc: Consistently use [[ instead of [. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=f202f2a1f6054126148f903325a36ed323c6f241 zsh/rc: Consistently use [[ instead of [. --- diff --git a/zsh/rc b/zsh/rc index 5889186..9755527 100644 --- a/zsh/rc +++ b/zsh/rc @@ -878,7 +878,7 @@ periodic() { # Display fortunes. (( $+commands[fortune] )) && fortune -ac # Display reminders. - (( $+commands[rem] )) && [ -f ~/.reminders ] && rem -h + (( $+commands[rem] )) && [[ -f ~/.reminders ]] && rem -h }