summary refs log tree commit diff stats
path: root/user/settings/zsh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'user/settings/zsh.nix')
-rw-r--r--user/settings/zsh.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index dd24b663..eb606fc9 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -258,29 +258,6 @@ in
     };
 
     envExtra = ''
-      case $OSTYPE in
-        darwin*)
-          os=darwin
-          ;;
-        linux-gnu)
-          os=linux
-          ;;
-        freebsd*)
-          os=freebsd
-          ;;
-        *)
-          os=unknown
-          ;;
-      esac
-
-      case $MACHTYPE in
-        *64)
-          arch=amd64
-          ;;
-        *)
-          arch=386
-          ;;
-      esac
       if [[ ''${path[(I)$HOME/.local/bin ]} ]]
       then
         path+=($HOME/.local/bin)
@@ -290,13 +267,6 @@ in
       then
         path+=($HOME/go/bin)
       fi
-
-      if [[ $HOST =~ satoshi ]]
-      then
-        EMAIL=alan@satoshipay.io
-      else
-        EMAIL=alan@alanpearce.eu
-      fi
     '';
 
     initExtra = ''