diff options
author | Matt Singleton <matt@xcolour.net> | 2021-10-01 13:47:12 -0500 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2022-03-16 18:59:37 -0500 |
commit | 1513043b96eb0a8a6a17bfc5ac45693e1a98ab03 (patch) | |
tree | 4abd3302930439d497687279e3eced92b0441905 /config | |
parent | a17ae708b7bf66bea0437417ef0ca0c2ad3be13c (diff) |
use gnome-keyring-agent as ssh agent
Diffstat (limited to 'config')
-rw-r--r-- | config/zsh/.profile | 1 | ||||
-rw-r--r-- | config/zsh/.zprofile | 3 |
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 |