🐛 better command check for brew

This commit is contained in:
walkah committed 2020-11-03 10:15:48 -05:00
1 parent a43cc8ce5c
commit 1133a465c0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ export CVS_RSH=ssh
[ -f $HOME/.environment ] && . $HOME/.environment
# Load asdf
if [ type brew &> /dev/null ]; then
if command -v brew &> /dev/null; then
. $(brew --prefix asdf)/asdf.sh
else
. ~/.asdf/asdf.sh
+1 -1
View File
@@ -53,7 +53,7 @@ if [ -d ~/Library/Android/sdk ]; then
fi
# zsh autosuggestions
if [ type brew &> /dev/null ]; then
if command -v brew &> /dev/null; then
zsh_autosuggestions=$(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
if [ -f $zsh_autosuggestions ]; then
source $zsh_autosuggestions