aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/zsh/.profile1
-rw-r--r--config/zsh/.zprofile3
2 files changed, 3 insertions, 1 deletions
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