summaryrefslogtreecommitdiff
path: root/dot_zsh
diff options
context:
space:
mode:
Diffstat (limited to 'dot_zsh')
-rw-r--r--dot_zsh/plugins/gnome-keyring-daemon5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_zsh/plugins/gnome-keyring-daemon b/dot_zsh/plugins/gnome-keyring-daemon
new file mode 100644
index 0000000..e9c35c2
--- /dev/null
+++ b/dot_zsh/plugins/gnome-keyring-daemon
@@ -0,0 +1,5 @@
+#!/bin/zsh
+(( $+commands[gnome-keyring-daemon] )) || return
+if [[ -z $SSH_AUTH_SOCK ]]; then
+ export $(gnome-keyring-daemon -s)
+fi