Support cloudtop

Supports ZSH themes based on which device I'm working. This might get
annoying after awhile, but I think the idea of having the prompt reflect
when I'm on a different machine than my own might be useful.

Adds "cloudtop" alias in ssh config.
This commit is contained in:
William Carroll 2019-03-07 16:44:37 +00:00
parent f293091c06
commit dc3c37c78e
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,8 @@
Host box
Hostname wpcarro.lon.corp.google.com
Host cloudtop
Hostname wpcarro.c.googlers.com
Match host *.corp.google.com
ProxyCommand corp-ssh-helper %h %p

View file

@ -14,7 +14,12 @@ antigen bundle zsh-completions # extracts archives polymorphically
antigen bundle zsh-users/zsh-syntax-highlighting
# Theming
antigen theme refined
# This supports different ZSH themes for each machine
case "$(hostname)" in
wpcarro.c.googlers.com) antigen theme cloud;;
wpcarro.lon.corp.google.com) antigen theme frisk;;
*) antigen theme refined;;
esac
# Leave this last
antigen apply