summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2017-09-04 09:05:19 +0200
committerAlan Pearce2017-09-04 09:05:19 +0200
commit0baa0b002bbae48baf80c2b80cfaf64f21911594 (patch)
treee546eb67da9cefb9cd40fe80445e1cb8a0cfca19 /zsh
parent6f4e0573de4b7c154ae649f6a83e2e90ee98d27b (diff)
downloaddotfiles-0baa0b002bbae48baf80c2b80cfaf64f21911594.tar.lz
dotfiles-0baa0b002bbae48baf80c2b80cfaf64f21911594.tar.zst
dotfiles-0baa0b002bbae48baf80c2b80cfaf64f21911594.zip
zsh: Set EMAIL
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.config/zsh/.zshenv7
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv
index dc84f1d..620ece5 100644
--- a/zsh/.config/zsh/.zshenv
+++ b/zsh/.config/zsh/.zshenv
@@ -69,6 +69,13 @@ then
     path+=($HOME/go/bin)
   fi
 
+  if [[ $HOSTNAME =~ satoshi ]]
+  then
+    EMAIL=alan@satoshipay.io
+  else
+    EMAIL=alan@alanpearce.eu
+  fi
+
   export GTAGSCONF=~/.globalrc
   export GTAGSLABEL=ctags