summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-09-04 09:05:19 +0200
committerAlan Pearce2017-09-04 09:05:19 +0200
commit0baa0b002bbae48baf80c2b80cfaf64f21911594 (patch)
treee546eb67da9cefb9cd40fe80445e1cb8a0cfca19
parent6f4e0573de4b7c154ae649f6a83e2e90ee98d27b (diff)
downloadnixfiles-0baa0b002bbae48baf80c2b80cfaf64f21911594.tar.lz
nixfiles-0baa0b002bbae48baf80c2b80cfaf64f21911594.tar.zst
nixfiles-0baa0b002bbae48baf80c2b80cfaf64f21911594.zip
zsh: Set EMAIL
-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 dc84f1d9..620ece50 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