From 69da4caed4864c013e65b515c3a1baa0c5f9129c Mon Sep 17 00:00:00 2001 From: Andriy Semenets Date: Wed, 3 Jan 2024 17:51:39 +0100 Subject: [PATCH] Add google-cloud-sdk zsh integration --- zsh/.zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index d9fa862..c4e3463 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -110,7 +110,6 @@ export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" export PATH="/usr/local/bin:$PATH" export PATH="/Users/semanser/.cabal/bin:$PATH" - # Set custom prompt PROMPT="%(?:%{$fg_bold[green]%}➜:%{$fg_bold[red]%}➜)" PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} ' @@ -128,6 +127,9 @@ export FZF_DEFAULT_OPTS=" \ eval "$(direnv hook zsh)" eval "$(rtx activate zsh)" +source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc" +source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc" + # Per-command profiling: # unsetopt xtrace