From 27ff756cd1b4e607d0bd4efdcfe39155605904db Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Fri, 20 Jul 2012 15:56:24 +0530 Subject: [PATCH] Remove the `.zcompdump` file only if it exists. --- tests/.zshenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/.zshenv b/tests/.zshenv index 23ad104..e5e494f 100644 --- a/tests/.zshenv +++ b/tests/.zshenv @@ -4,7 +4,7 @@ export ADOTDIR="$PWD/dot-antigen" -rm "$TESTDIR/.zcompdump" +test -f "$TESTDIR/.zcompdump" && rm "$TESTDIR/.zcompdump" source "$TESTDIR/../antigen.zsh" -- 2.0.0