mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
test -d to make sure awscli is actually installed
brew --prefix shows the location that a package is or would be
installed:
a8582c58/share/man/man1/brew.1 (L448-L449)
This commit is contained in:
parent
c78277fd8b
commit
6f18ab183a
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ _homebrew-installed() {
|
|||
}
|
||||
|
||||
_awscli-homebrew-installed() {
|
||||
brew list awscli &> /dev/null
|
||||
test -d brew --prefix awscli &> /dev/null
|
||||
}
|
||||
|
||||
export AWS_HOME=~/.aws
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue