Update .zshrc

This commit is contained in:
Thomas Brasdefer 2024-12-19 16:55:16 +01:00
parent 8add60292e
commit 96b5d75d41
Signed by: tombdf
GPG Key ID: A047E76CC4582988

View File

@ -136,7 +136,6 @@ fi
# Set the ssh-agent if it is not already running
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
# Démarre ssh-agent
eval "$(ssh-agent -s)" > /dev/null
fi
export SSH_AUTH_SOCK=$(ssh-agent -s | grep -oP '(?<=SSH_AUTH_SOCK=)[^;]+')