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.
This commit is contained in:
Andrew Purcell 2014-12-01 12:29:59 -08:00 committed by ncanceill
parent 1653545282
commit 41104f8af8
1 changed files with 1 additions and 1 deletions

View File

@ -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