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 +}