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:
parent
f293091c06
commit
dc3c37c78e
2 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
Host box
|
Host box
|
||||||
Hostname wpcarro.lon.corp.google.com
|
Hostname wpcarro.lon.corp.google.com
|
||||||
|
|
||||||
|
Host cloudtop
|
||||||
|
Hostname wpcarro.c.googlers.com
|
||||||
|
|
||||||
Match host *.corp.google.com
|
Match host *.corp.google.com
|
||||||
ProxyCommand corp-ssh-helper %h %p
|
ProxyCommand corp-ssh-helper %h %p
|
||||||
|
|
|
@ -14,7 +14,12 @@ antigen bundle zsh-completions # extracts archives polymorphically
|
||||||
antigen bundle zsh-users/zsh-syntax-highlighting
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||||
|
|
||||||
# Theming
|
# 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
|
# Leave this last
|
||||||
antigen apply
|
antigen apply
|
||||||
|
|
Loading…
Reference in a new issue