mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
Removed unnessesary allocation of GPG_SSH_AUTH_SOCK
This commit is contained in:
parent
8f75f950ef
commit
70b43a0054
1 changed files with 2 additions and 3 deletions
|
|
@ -9,9 +9,8 @@ fi
|
|||
export GPG_TTY=$(tty)
|
||||
|
||||
# Set SSH to use gpg-agent if it's enabled
|
||||
GPG_SSH_AUTH_SOCK="${AGENT_SOCK}.ssh"
|
||||
if [ -S ${GPG_SSH_AUTH_SOCK} ]; then
|
||||
export SSH_AUTH_SOCK=$GPG_SSH_AUTH_SOCK
|
||||
if [ -S "${AGENT_SOCK}.ssh" ]; then
|
||||
export SSH_AUTH_SOCK="${AGENT_SOCK}.ssh"
|
||||
unset SSH_AGENT_PID
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue