Skip to content

Commit

Permalink
ssh module: readd ssh-agent export socket, and add chmod for socket file
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonfry committed Jan 29, 2019
1 parent 7d32a08 commit 7e73934
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/ssh/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ fi
# Create a persistent SSH authentication socket.
if [[ -S "$SSH_AUTH_SOCK" && "$SSH_AUTH_SOCK" != "$_ssh_agent_sock" ]]; then
ln -sf "$SSH_AUTH_SOCK" "$_ssh_agent_sock"
export SSH_AUTH_SOCK="$_ssh_agent_sock"
chmod 744 $_ssh_agent_sock
fi

# Load identities.
Expand Down

0 comments on commit 7e73934

Please sign in to comment.