about summary refs log tree commit diff
path: root/configs/shared/.zshrc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2018-01-08T20·40-0500
committerWilliam Carroll <wpcarro@gmail.com>2018-01-08T20·40-0500
commitaed6a9398a2c3333ec7f26157ce6a4a83e0dfcec (patch)
treea98aae583379f88e8614ea0f7bb5f5d3d7f7a860 /configs/shared/.zshrc
parent4fcf4bc3c011e383ed8808c180e3b69656055cf6 (diff)
Update zsh configs for env vars, etc
Security measures are in place to protect env vars that contain
sensitive data.
Diffstat (limited to 'configs/shared/.zshrc')
-rw-r--r--configs/shared/.zshrc10
1 files changed, 8 insertions, 2 deletions
diff --git a/configs/shared/.zshrc b/configs/shared/.zshrc
index 58408271ec2a..6e658292c3d7 100644
--- a/configs/shared/.zshrc
+++ b/configs/shared/.zshrc
@@ -1,6 +1,6 @@
-export ZSH=/Users/wpcarro/.oh-my-zsh
+export ZSH=${HOME}/.oh-my-zsh
 
-ZSH_THEME="spaceship"
+ZSH_THEME="refined"
 plugins=(tmux zsh-autosuggestions git git-extras github gitfast)
 source $ZSH/oh-my-zsh.sh
 source ~/.zsh_profile
@@ -8,3 +8,9 @@ source ~/.zsh_profile
 [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
 
 export N_PREFIX="$HOME/n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin"  # Added by n-install (see http://git.io/n-install-repo).
+
+# The next line updates PATH for the Google Cloud SDK.
+if [ -f '/Users/wpcarro/Downloads/google-cloud-sdk/path.zsh.inc' ]; then source '/Users/wpcarro/Downloads/google-cloud-sdk/path.zsh.inc'; fi
+
+# The next line enables shell command completion for gcloud.
+if [ -f '/Users/wpcarro/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then source '/Users/wpcarro/Downloads/google-cloud-sdk/completion.zsh.inc'; fi