diff options
author | Aaron LI <aly@aaronly.me> | 2018-02-20 21:15:46 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-02-20 21:15:46 +0800 |
commit | 3f80c4abe8f866d6ed730518af2289a51b5097a5 (patch) | |
tree | 358c14ab5050004c46d47c892c8ad282900df51a /_zsh | |
parent | 607ca8f9a2252f9d93e9ce1b6af792ac75d3951c (diff) | |
download | dotfiles-3f80c4abe8f866d6ed730518af2289a51b5097a5.tar.bz2 |
zsh/gpg: simplify gpg-agent launch on login; add note about systemd
Diffstat (limited to '_zsh')
-rw-r--r-- | _zsh/80-gpg.zsh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/_zsh/80-gpg.zsh b/_zsh/80-gpg.zsh index c0314d4..ef1f153 100644 --- a/_zsh/80-gpg.zsh +++ b/_zsh/80-gpg.zsh @@ -2,7 +2,12 @@ # zsh/gpg.zsh # -# NOTE: `gpg-agent' is configured to be launched in `~/.profile'. +# NOTE: +# ZSH is configured to launch `gpg-agent' on login, so it may be necessary +# to disable its launch by systemd, e.g., +# $ systemctl --global --user mask --now \ +# gpg-agent.service gpg-agent.socket gpg-agent-ssh.socket \ +# gpg-agent-extra.socket gpg-agent-browser.socket # This `GPG_TTY' variable should be set to the correct TTY where the shell # is running. See `gpg-agent(1)' for more details. |