From f147a30bf87a3f58c93ddcbf30500d13658a85d9 Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 17 Oct 2022 21:11:50 +0200 Subject: [PATCH] zprofile: run gnome-keyring-daemon if not running --- .zprofile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zprofile b/.zprofile index 40902fb..2149161 100644 --- a/.zprofile +++ b/.zprofile @@ -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...