]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - zsh/rc
zsh/rc: Consistently use [[ instead of [.
[config/dotfiles.git] / zsh / rc
diff --git a/zsh/rc b/zsh/rc
index 5889186973ea19dde4a1a92375611f976c478526..97555277906d9c42a119824c819603f7893d5747 100644 (file)
--- 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
 }