Browse Source

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.
Andrew Purcell 9 years ago
parent
commit
41104f8af8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/aws/aws.plugin.zsh

+ 1 - 1
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