Skip to content

Commit 41104f8

Browse files
Andrew Purcellncanceill
authored andcommitted
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.
1 parent 1653545 commit 41104f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/aws/aws.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function aws_profiles {
2222
compctl -K aws_profiles asp
2323

2424
if _homebrew-installed && _awscli-homebrew-installed ; then
25-
_aws_zsh_completer_path=$(brew --prefix)/opt/awscli/libexec/bin/aws_zsh_completer.sh
25+
_aws_zsh_completer_path=$(brew --prefix awscli)/libexec/bin/aws_zsh_completer.sh
2626
else
2727
_aws_zsh_completer_path=$(which aws_zsh_completer.sh)
2828
fi

0 commit comments

Comments
 (0)