mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
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:
parent
1653545282
commit
41104f8af8
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ function aws_profiles {
|
||||||
compctl -K aws_profiles asp
|
compctl -K aws_profiles asp
|
||||||
|
|
||||||
if _homebrew-installed && _awscli-homebrew-installed ; then
|
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
|
else
|
||||||
_aws_zsh_completer_path=$(which aws_zsh_completer.sh)
|
_aws_zsh_completer_path=$(which aws_zsh_completer.sh)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue