From 7cacca9bafa431888834d52b1e4bfab5d8bb1221 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 30 Mar 2021 21:33:42 +0000 Subject: [PATCH] home: zsh: add 'reset-agent' alias --- home/zsh/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 6cc8519..b7b9e8e 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -60,6 +60,11 @@ in # I don't like moving my eyes AGKOZAK_LEFT_PROMPT_ONLY = 1; }; + + shellAliases = { + # Sometime `gpg-agent` errors out... + reset-agent = "gpg-connect-agent updatestartuptty /bye"; + }; }; # Fuzzy-wuzzy