From ee7bcb1c0d4132fb81ebaa2794a95a64555fdaf2 Mon Sep 17 00:00:00 2001 From: materus Date: Sun, 31 Mar 2024 22:42:18 +0200 Subject: [PATCH] home-profile: add extract plugin to zsh --- configurations/profile/home/shell/zsh.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configurations/profile/home/shell/zsh.nix b/configurations/profile/home/shell/zsh.nix index b7c806b..cc543f5 100644 --- a/configurations/profile/home/shell/zsh.nix +++ b/configurations/profile/home/shell/zsh.nix @@ -41,6 +41,8 @@ let sha256 = "sha256-ES5vJXHjAKw/VHjWs8Au/3R+/aotSbY7PWnWAMzCR8E="; }); sudo = makePlugin "sudo" "sudo.plugin.zsh" "${pkgs.oh-my-zsh}/share/oh-my-zsh/plugins/sudo"; + extract = makePlugin "extract" "extract.plugin.zsh" "${pkgs.oh-my-zsh}/share/oh-my-zsh/plugins/extract"; + }; in @@ -98,6 +100,9 @@ in if [[ -f "${extraPlugins.sudo.fullPath}" ]]; then source "${extraPlugins.sudo.fullPath}" fi + if [[ -f "${extraPlugins.extract.fullPath}" ]]; then + source "${extraPlugins.extract.fullPath}" + fi '' }'';