diff options
author | William Carroll <wpcarro@gmail.com> | 2019-03-07T16·44+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-03-07T16·44+0000 |
commit | dc3c37c78e72016bb997cae2f65faa701183b5db (patch) | |
tree | f71ede0675cb7b75fa69dfd0ee369deba9827aa9 /configs/shared/zsh | |
parent | f293091c063e278285ba931a69b90d215413d2e6 (diff) |
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.
Diffstat (limited to 'configs/shared/zsh')
-rw-r--r-- | configs/shared/zsh/.zshrc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configs/shared/zsh/.zshrc b/configs/shared/zsh/.zshrc index ca49d2867fac..721bc8c74cab 100644 --- a/configs/shared/zsh/.zshrc +++ b/configs/shared/zsh/.zshrc @@ -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 |