summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 20:02:40 +0200
committerAlan Pearce2017-09-09 20:02:40 +0200
commita9cf2404db130d299bd4208a6657cc1ed4b866bc (patch)
tree23334498ae63c4b49138772053c6c251c82c7ba0
parentf1321a5cc23ae13220009a220b9fe13918cb369d (diff)
downloaddotfiles-a9cf2404db130d299bd4208a6657cc1ed4b866bc.tar.lz
dotfiles-a9cf2404db130d299bd4208a6657cc1ed4b866bc.tar.zst
dotfiles-a9cf2404db130d299bd4208a6657cc1ed4b866bc.zip
zsh: Fix email switch
-rw-r--r--zsh/.config/zsh/.zshenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv
index 620ece5..f865d40 100644
--- a/zsh/.config/zsh/.zshenv
+++ b/zsh/.config/zsh/.zshenv
@@ -69,7 +69,7 @@ then
     path+=($HOME/go/bin)
   fi
 
-  if [[ $HOSTNAME =~ satoshi ]]
+  if [[ $HOST =~ satoshi ]]
   then
     EMAIL=alan@satoshipay.io
   else