diff options
author | Aaron LI <aly@aaronly.me> | 2018-01-13 14:09:18 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-01-13 14:09:18 +0800 |
commit | b7022a415d3697214e9bb385ee1ae23e44191548 (patch) | |
tree | 287c56160eb9fb77eb6a91f5cc126584ef3b16c7 /_zlogin | |
parent | 1202e25968a5163887c5eb7bb7097d02ebcea449 (diff) | |
download | dotfiles-b7022a415d3697214e9bb385ee1ae23e44191548.tar.bz2 |
zsh: improve gpg-agent startup and support restart
Diffstat (limited to '_zlogin')
-rw-r--r-- | _zlogin | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,7 +14,8 @@ ## 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 - gpgconf --launch gpg-agent + gpg-agent --daemon --enable-ssh-support \ + --pinentry-program ${HOME}/bin/pinentry >/dev/null 2>&1 fi ## Auto start X if login on tty6 |