1 2 3 4 5
#!/bin/zsh (( $+commands[gnome-keyring-daemon] )) || return if [[ -z $SSH_AUTH_SOCK ]]; then export $(gnome-keyring-daemon -s) fi