summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-12-12 01:06:37 +0100
committerAlan Pearce2020-12-12 01:06:37 +0100
commitee7d7f92d1770e8489abb1cee9c35fff78a56647 (patch)
treedb3d0aaddba8f4a191d52fc27b6c7111f91abd7e
parent5c1f85d792aa73f90c5e72df4ad0a09997cd101e (diff)
downloadnixfiles-ee7d7f92d1770e8489abb1cee9c35fff78a56647.tar.lz
nixfiles-ee7d7f92d1770e8489abb1cee9c35fff78a56647.tar.zst
nixfiles-ee7d7f92d1770e8489abb1cee9c35fff78a56647.zip
darwin: stop Terminal saving zsh sessions on exit
-rw-r--r--user/settings/darwin.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix
index 0550aedd..7d20099b 100644
--- a/user/settings/darwin.nix
+++ b/user/settings/darwin.nix
@@ -50,6 +50,9 @@
     drill = "dig";
   };
 
+  programs.zsh.envExtra = ''
+    SHELL_SESSIONS_DISABLE=1
+  '';
   # Use GPG from  GPGTools
   programs.git.signing.gpgPath = "/usr/local/bin/gpg";
 }