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/zsh/.zprofile | |
parent | a17ae708b7bf66bea0437417ef0ca0c2ad3be13c (diff) |
use gnome-keyring-agent as ssh agent
Diffstat (limited to 'config/zsh/.zprofile')
-rw-r--r-- | config/zsh/.zprofile | 3 |
1 files changed, 3 insertions, 0 deletions
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 |