From ea5bd6cfb2b9dda7ccf22e6544db3f451bdb184f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 15:59:29 +0100 Subject: [PATCH] gak,gau --- shell/alias/gpg.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/shell/alias/gpg.sh b/shell/alias/gpg.sh index 549c34e..4c1d4e5 100644 --- a/shell/alias/gpg.sh +++ b/shell/alias/gpg.sh @@ -1,12 +1,12 @@ # turn gpg agent off -alias gak="\ -gpgconf \ ---kill \"gpg-agent\" \ -" +gak() { + gpgconf \ + --kill "gpg-agent" +} # bind gpg agent to current tty -alias gau="\ -gpg-connect-agent \ -updatestartuptty \ -/bye \ -" +gau() { + gpg-connect-agent \ + updatestartuptty \ + /bye +}