From ce0ac079006716840f535a7820f4b191f6e8b98c Mon Sep 17 00:00:00 2001 From: Pat Regan Date: Sun, 1 May 2011 17:47:56 -0400 Subject: [PATCH] Fixed a bug and quoting --- oh-my-zsh.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 5ba9deff4..3550c4302 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -40,8 +40,8 @@ else fi # Compile zcompdump if necessary -if [ "~/.zcompdump" -nt "~/.zcompdump.zwc" ]; then - zcompile ~/.zcompdump +if [ "~/.zcompdump -nt ~/.zcompdump.zwc" -o ! -e "~/.zcompdump.zwc" ]; then + zcompile "~/.zcompdump" fi # Check for updates on initial load...