dotfiles/zsh/mac-tty.zsh

5 lines
113 B
Bash

export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent