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.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index ae2fe2ff..dd24b663 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -257,8 +257,7 @@ in
       ngc = "nix-collect-garbage --delete-older-than 14d";
     };
 
-    # move to envExtra after 19.09
-    initExtra = ''
+    envExtra = ''
       case $OSTYPE in
         darwin*)
           os=darwin
@@ -298,7 +297,9 @@ in
       else
         EMAIL=alan@alanpearce.eu
       fi
+    '';
 
+    initExtra = ''
       typeset -T GHQ_ROOT ghq_root
       export GHQ_ROOT="$HOME/projects:$HOME/go/src:$HOME/quicklisp/local-projects"