From a43db61537748cbef6b689295eb922e1e79b7020 Mon Sep 17 00:00:00 2001 From: Xian Wang Date: Mon, 14 Feb 2022 21:15:01 -0800 Subject: gpg-agent: move gpg-agent to plasma and out of shell rc --- zshrc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'zshrc') diff --git a/zshrc b/zshrc index c9ed37a..eb6990e 100644 --- a/zshrc +++ b/zshrc @@ -31,14 +31,6 @@ fi export PS1='$user_prompt@%M %F{cyan}%2~%f ${vcs_info_msg_0_}%(?..%F{red}[%?]%f )%# ' -if [ ! -f $HOME/server ] && [ ! $UID -eq 0 ]; then - export GPG_TTY="$(tty)" - export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) - gpgconf --launch gpg-agent - gpg-connect-agent updatestartuptty /bye > /dev/null - gpg-connect-agent "scd serialno" "learn --force" /bye > /dev/null -fi - alias l="ls -lah" alias ll="ls -lh" alias okular="setsid okular" -- cgit v1.2.3