rolls back to ssh-agent

This commit is contained in:
Bruno Carlin 2018-07-06 09:27:00 +02:00
parent f067b2cf9c
commit 2ffa0033ae
2 changed files with 2 additions and 1 deletions

View file

@ -5,7 +5,7 @@ set -x EDITOR vim
set -x VIRTUAL_ENV_DISABLE_PROMPT true set -x VIRTUAL_ENV_DISABLE_PROMPT true
## SSH init ## SSH init
set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket
for f in (ls $HOME/.ssh/*.pub); for f in (ls $HOME/.ssh/*.pub);
set -l priv (string replace '.pub' '' $f); set -l priv (string replace '.pub' '' $f);
if not contains $priv (ssh-add -l | awk '{ print $3 }') if not contains $priv (ssh-add -l | awk '{ print $3 }')

View file

@ -0,0 +1 @@
/home/bca/.config/systemd/user/ssh-agent.service