From f202f2a1f6054126148f903325a36ed323c6f241 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 12 Apr 2013 00:30:16 +0200 Subject: [PATCH] zsh/rc: Consistently use [[ instead of [. --- zsh/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.45.2