فهرست منبع

fix brew call on linux

Tom McKenzie 2 سال پیش
والد
کامیت
ada265801e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      .zshrc

+ 1 - 1
.zshrc

@@ -28,4 +28,4 @@ if [ -f '/Users/tom/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/tom/google-
 if [ -f '/Users/tom/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/tom/google-cloud-sdk/completion.zsh.inc'; fi
 
 
-eval "$(/opt/homebrew/bin/brew shellenv)"
+if [ -f '/opt/homebrew/bin/brew' ]; then eval "$(/opt/homebrew/bin/brew shellenv)"; fi