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/.profile | 1 - config/zsh/.zprofile | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 config/zsh/.profile diff --git a/config/zsh/.profile b/config/zsh/.profile deleted file mode 100644 index 0569744..0000000 --- a/config/zsh/.profile +++ /dev/null @@ -1 +0,0 @@ -eval $(ssh-agent) 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