set the right ssh/gpg agents at boot with gnome-keyring
This commit is contained in:
parent
22a1a387b9
commit
3658bcf6c1
4 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ set -x EDITOR vim
|
|||
set -x VIRTUAL_ENV_DISABLE_PROMPT true
|
||||
|
||||
## SSH init
|
||||
set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket
|
||||
set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
|
||||
for f in (ls $HOME/.ssh/*.pub);
|
||||
set -l priv (string replace '.pub' '' $f);
|
||||
if not contains $priv (ssh-add -l | awk '{ print $3 }')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue