fix ssh-agent
This commit is contained in:
parent
d436398ab0
commit
48da85b3dc
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue