From ddc296138c9bb2c8287de40976ac7455d7f7b2e3 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 24 Mar 2023 11:18:08 +0000 Subject: [PATCH] home: move gpg-specific alias to 'gpg' --- home/gpg/default.nix | 5 +++++ home/zsh/default.nix | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/home/gpg/default.nix b/home/gpg/default.nix index d48c200..7eadf48 100644 --- a/home/gpg/default.nix +++ b/home/gpg/default.nix @@ -27,5 +27,10 @@ in allow-loopback-pinentry ''; }; + + home.shellAliases = { + # Sometime `gpg-agent` errors out... + reset-agent = "gpg-connect-agent updatestartuptty /bye"; + }; }; } diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 4760d39..5bf9c34 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -99,9 +99,6 @@ in # Well-known ls aliases l = "ls -alh"; ll = "ls -l"; - - # Sometime `gpg-agent` errors out... - reset-agent = "gpg-connect-agent updatestartuptty /bye"; }; # Enable VTE integration