diff options
| author | 2020-09-13 14:57:51 -0400 | |
|---|---|---|
| committer | 2020-09-13 14:57:51 -0400 | |
| commit | f261f4733526e981568c282266e0f343e9e6f678 (patch) | |
| tree | 06c3c4a913cca37a0b077165e426c5ad348be701 /dot_zsh/plugins/gnome-keyring-daemon | |
| parent | zsh: systemd ignores $LESS, set $SYSTEMD_LESS (diff) | |
add gnome-keyring-daemon (ssh) plugin
Diffstat (limited to '')
| -rw-r--r-- | dot_zsh/plugins/gnome-keyring-daemon | 5 |
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 |
