From 1513043b96eb0a8a6a17bfc5ac45693e1a98ab03 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Fri, 1 Oct 2021 13:47:12 -0500 Subject: use gnome-keyring-agent as ssh agent --- config/zsh/.zprofile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/zsh/.zprofile') diff --git a/config/zsh/.zprofile b/config/zsh/.zprofile index 68b0ec4..479c8aa 100644 --- a/config/zsh/.zprofile +++ b/config/zsh/.zprofile @@ -2,3 +2,6 @@ if [ "$(uname)" = "Darwin" ]; then # disable Apple Terminal's annoying session restore feature SHELL_SESSIONS_DISABLE=1 fi +if [ "$DESKTOP_SESSION" = "sway" ]; then + export $(gnome-keyring-daemon --start) +fi -- cgit v1.2.3