about summary refs log tree commit diff
path: root/configs/shared/zsh/.zshrc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-07T16·44+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-07T16·44+0000
commitdc3c37c78e72016bb997cae2f65faa701183b5db (patch)
treef71ede0675cb7b75fa69dfd0ee369deba9827aa9 /configs/shared/zsh/.zshrc
parentf293091c063e278285ba931a69b90d215413d2e6 (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/.zshrc')
-rw-r--r--configs/shared/zsh/.zshrc7
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