From 800c36130042a962839f96d52ce458e65197a1e9 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Fri, 3 Jan 2025 23:49:09 +0100 Subject: [PATCH] zsh: add autopair plugin --- home/programs/zsh/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/home/programs/zsh/default.nix b/home/programs/zsh/default.nix index 9d4b489..060c381 100644 --- a/home/programs/zsh/default.nix +++ b/home/programs/zsh/default.nix @@ -70,6 +70,18 @@ in hash = "sha256-ij+ooXQxV3CmsCN/CrJMicTWvS+9GYHA/1Kuqh5zXIY="; }; } + + { + # https://github.com/hlissner/zsh-autopair + name = "zsh-autopair"; + file = "zsh-autopair.plugin.zsh"; + src = fetchFromGitHub { + owner = "hlissner"; + repo = "zsh-autopair"; + rev = "449a7c3d095bc8f3d78cf37b9549f8bb4c383f3d"; + hash = "sha256-3zvOgIi+q7+sTXrT+r/4v98qjeiEL4Wh64rxBYnwJvQ="; + }; + } ] ++ optionals isDarwin [ { # https://github.com/MichaelAquilina/zsh-auto-notify