From 537eb704e7974fb2eba011f9f47c6ab34a6692eb Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Thu, 11 Jul 2024 13:14:10 +0100
Subject: [PATCH] zsh: remove `zsh-auto-notify` plugin

`AUTO_NOTIFY_IGNORE` keeps being reset within a tmux session, so I'm
removing this for now until I have time to investigate further and
resolve.
---
 lib/shared/modules/zsh.nix                    |  5 -----
 lib/shared/modules/zsh/auto-notify-ignore.nix | 17 -----------------
 2 files changed, 22 deletions(-)
 delete mode 100644 lib/shared/modules/zsh/auto-notify-ignore.nix

diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix
index 9d04f26a..ddc1fbb7 100644
--- a/lib/shared/modules/zsh.nix
+++ b/lib/shared/modules/zsh.nix
@@ -89,17 +89,12 @@
           tags = [ "from:oh-my-zsh" ];
         }
 
-        { name = "MichaelAquilina/zsh-auto-notify"; }
         { name = "olets/zsh-abbr"; }
 
         { name = "zsh-users/zsh-completions"; }
         { name = "zsh-users/zsh-syntax-highlighting"; }
       ];
     };
-
-    sessionVariables = {
-      AUTO_NOTIFY_IGNORE = import ./zsh/auto-notify-ignore.nix;
-    };
   };
 
   home.file.".config/zsh-abbr/user-abbreviations".text = builtins.readFile ./zsh/abbreviations.zsh;
diff --git a/lib/shared/modules/zsh/auto-notify-ignore.nix b/lib/shared/modules/zsh/auto-notify-ignore.nix
deleted file mode 100644
index 8384ef57..00000000
--- a/lib/shared/modules/zsh/auto-notify-ignore.nix
+++ /dev/null
@@ -1,17 +0,0 @@
-[
-  "atuin"
-  "bat"
-  "cat"
-  "docker"
-  "git"
-  "htop"
-  "less"
-  "man"
-  "more"
-  "nix develop"
-  "nvim"
-  "ssh"
-  "t"
-  "tldr"
-  "watch"
-]