Enable ssh-agent
This commit is contained in:
parent
f61ff65c52
commit
c1b22ab72d
|
@ -35,6 +35,9 @@ urxvtd -q -f -o &
|
||||||
## GPG
|
## GPG
|
||||||
(sleep 3; bash -c "secret-tool lookup 'gpg' 'login' | gpg2 --no-tty --pinentry-mode loopback --passphrase-fd 0 -d ~/.password-store/mail/uni.gpg") &
|
(sleep 3; bash -c "secret-tool lookup 'gpg' 'login' | gpg2 --no-tty --pinentry-mode loopback --passphrase-fd 0 -d ~/.password-store/mail/uni.gpg") &
|
||||||
|
|
||||||
|
## SSH agent
|
||||||
|
(sleep 5; ssh-agent fish) &
|
||||||
|
|
||||||
## Spacemacs daemon
|
## Spacemacs daemon
|
||||||
(sleep 6; cd ~/.emacs.d; git pull --rebase; emacs --batch -l ~/.emacs.d/init.el --eval="(configuration-layer/update-packages t)"; emacs --daemon=instance1) &
|
(sleep 6; cd ~/.emacs.d; git pull --rebase; emacs --batch -l ~/.emacs.d/init.el --eval="(configuration-layer/update-packages t)"; emacs --daemon=instance1) &
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
## GNOME Keyring
|
## GNOME Keyring
|
||||||
dbus-update-activation-environment
|
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets)
|
||||||
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
export GPG_TTY=$(tty)
|
||||||
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
SSH_AGENT_PID DEFAULT=
|
||||||
|
SSH_AUTH_SOCK DEFAULT="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"
|
Loading…
Reference in New Issue