2024-05-24 21:33:00 +02:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
|
|
|
|
if [ -z "$DESKTOP_SESSION" ]; then
|
2024-10-30 15:32:07 +01:00
|
|
|
if [ -n "$(command -v gnome-keyring-daemon)" ]; then
|
|
|
|
if [ -z "$(pidof gnome-keyring-daemon)" ]; then
|
|
|
|
eval $(gnome-keyring-daemon --start)
|
|
|
|
export SSH_AUTH_SOCK
|
|
|
|
fi
|
2024-05-24 21:33:00 +02:00
|
|
|
else
|
|
|
|
{ eval $(ssh-agent -s); } > /dev/null 2>&1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|