1
0
Fork 0

fix ssh-agent

This commit is contained in:
Massaki Archambault 2018-03-23 08:53:39 -04:00
parent d436398ab0
commit 48da85b3dc
2 changed files with 7 additions and 1 deletions

View File

@ -19,7 +19,7 @@ alias wifi-menu="sudo wifi-menu -o"
alias netctl="sudo netctl"
# serial
alias minicom="docker run --device=/dev/ttyUSB0 -it minicom"
alias minicom="docker run --device=/dev/ttyUSB0 -it registry.massaki.ca/minicom"
# open-sourced build of vs code is named code-oss
alias code="code-oss"

View File

@ -0,0 +1,6 @@
# Set SSH to use gpg-agent
unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi