summaryrefslogtreecommitdiff
path: root/plugins/aws/aws.plugin.zsh
diff options
context:
space:
mode:
authorAndrew Purcell <andrew.purcell@grandroundshealth.com>2014-12-01 12:29:59 -0800
committerncanceill <nicolas.canceill@ens-cachan.org>2015-06-10 14:36:54 +0200
commit41104f8af842cd9ba441255808053a36ef4fcd6b (patch)
treed36de2586ba3255851e3f422eee6a8d1b97a41d8 /plugins/aws/aws.plugin.zsh
parent16535452829d36f5382b176216a9ad312b2be1e5 (diff)
downloadzsh-41104f8af842cd9ba441255808053a36ef4fcd6b.tar.gz
zsh-41104f8af842cd9ba441255808053a36ef4fcd6b.tar.bz2
zsh-41104f8af842cd9ba441255808053a36ef4fcd6b.zip
Fix homebrew directory in aws plugin.
Sometimes the output of ``homebrew --prefix`` and ``homebrew --prefix awscli`` don't match, and the second is the correct call.
Diffstat (limited to 'plugins/aws/aws.plugin.zsh')
-rw-r--r--plugins/aws/aws.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/aws/aws.plugin.zsh b/plugins/aws/aws.plugin.zsh
index 0ae18dd56..e5e3f1236 100644
--- a/plugins/aws/aws.plugin.zsh
+++ b/plugins/aws/aws.plugin.zsh
@@ -22,7 +22,7 @@ function aws_profiles {
compctl -K aws_profiles asp
if _homebrew-installed && _awscli-homebrew-installed ; then
- _aws_zsh_completer_path=$(brew --prefix)/opt/awscli/libexec/bin/aws_zsh_completer.sh
+ _aws_zsh_completer_path=$(brew --prefix awscli)/libexec/bin/aws_zsh_completer.sh
else
_aws_zsh_completer_path=$(which aws_zsh_completer.sh)
fi