all repos — archive/dotfiles @ 1e9c3de62e6cbdcdd344c51ce60ceafa80e3e830

Superseded by nixfiles

Merge branch 'master' of https://git.alanpearce.eu/dotfiles
Alan Pearce alan@alanpearce.eu
Fri, 21 Dec 2018 11:17:03 +0100
commit

1e9c3de62e6cbdcdd344c51ce60ceafa80e3e830

parent

bbcbe8f7da8372c207cbeac9c498677edc982ece

1 files changed, 0 insertions(+), 16 deletions(-)

jump to
M zsh/.config/zsh/.zshrczsh/.config/zsh/.zshrc
@@ -118,22 +118,6 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|=*'
 zstyle ':completion:*' completer _expand _complete _match
 
-if [[ $os != "darwin" && -n $commands[gpg-connect-agent] ]]
-then
-  # When using SSH support, use the current TTY for passphrase prompts
-  gpg-connect-agent updatestartuptty /bye > /dev/null
-
-  # Point the SSH_AUTH_SOCK to the one handled by gpg-agent
-  if [ -S $(gpgconf --list-dirs agent-ssh-socket) ]; then
-    export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
-  else
-    echo "$(gpgconf --list-dirs agent-ssh-socket) doesn't exist. Is gpg-agent running ?"
-  fi
-elif [[ -z "$SSH_AUTH_SOCK" && -n $commands[ssh-agent] ]]
-then
-  eval $(ssh-agent)
-fi
-
 # Plugins
 
 zplugin ice blockf wait'0' lucid