diff options
author | Aaron LI <aly@aaronly.me> | 2018-02-20 22:34:56 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-02-20 22:34:56 +0800 |
commit | 6808da56ad6ecd8c1ebf7ca6a39495df4f7ebbd2 (patch) | |
tree | 80142bdab04ebf9d3de3398e912ffda275556659 /_zlogin | |
parent | 3f80c4abe8f866d6ed730518af2289a51b5097a5 (diff) | |
download | dotfiles-6808da56ad6ecd8c1ebf7ca6a39495df4f7ebbd2.tar.bz2 |
gpg: rewrite gpg-agent handling with zsh
* do not hack to force to use `pinentry-curses` with custom `pinentry`
and `gpg2-x11` shims
* explain to use the `pinentry-gtk-2`, which will fallback to text mode
* simply launch `gpg-agent` with `gpgconf --launch`
Diffstat (limited to '_zlogin')
-rw-r--r-- | _zlogin | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ ## Start `gpg-agent' on login (non-SSH connections) GPG_AGENT_SOCKET="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent" if [[ -z ${SSH_CONNECTION} ]] && [[ ! -S "${GPG_AGENT_SOCKET}" ]]; then - restart-gpg-agent + gpgconf --launch gpg-agent fi ## Auto start X if login on tty6 |