zprofile: run gnome-keyring-daemon if not running

This commit is contained in:
surtur 2022-10-17 21:11:50 +02:00
parent 8428f754d4
commit f147a30bf8
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

View File

@ -39,6 +39,9 @@ if [ ! -S $HOME/.ssh/ssh_auth_sock ]; then
fi
export SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock
if ! [ -f /run/.containerenv ]; then
pgrep -x -U "$(id -u)" gnome-keyring-d || export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
fi
export DOTNET_CLI_TELEMETRY_OPTOUT=1 # why do I always have to take care of this myself...