Skip to content

Commit 4edfcd2

Browse files
committed
don't source google-cloud-sdk on linux
1 parent 2476d85 commit 4edfcd2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dot_zshrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,10 @@ eval $(thefuck --alias)
191191

192192
source $(brew --prefix)/opt/asdf/libexec/asdf.sh
193193

194-
source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc"
195-
source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc"
194+
if [[ $OSTYPE == 'darwin'* ]]; then
195+
source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc"
196+
source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc"
197+
fi
196198

197199
PS1="$(pwd) > "
198200
PROMPT_LAYOUT='<excuse><cheers><vcs><nl>[<cwd><? ><exit>] <char> '

0 commit comments

Comments
 (0)