From 15384a8666234b2bb12ca7911d9c01e888154015 Mon Sep 17 00:00:00 2001 From: Brandon W Maister Date: Tue, 30 Sep 2014 10:17:49 -0400 Subject: [PATCH] Use `test -d` correctly --- plugins/aws/aws.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/aws/aws.plugin.zsh b/plugins/aws/aws.plugin.zsh index 95ebc5b85..1aa56a347 100644 --- a/plugins/aws/aws.plugin.zsh +++ b/plugins/aws/aws.plugin.zsh @@ -3,7 +3,7 @@ _homebrew-installed() { } _awscli-homebrew-installed() { - test -d brew --prefix awscli &> /dev/null + test -d "$( brew --prefix awscli )" } export AWS_HOME=~/.aws