Compare commits
2 Commits
20aafe29e8
...
98deefe039
Author | SHA1 | Date | |
---|---|---|---|
98deefe039 | |||
6d29f9afbc |
@ -65,6 +65,7 @@
|
||||
!/.config/zsh/local.zsh.example
|
||||
!/.config/zsh/local/.keep
|
||||
!/.config/zsh/local/completion/.keep
|
||||
!/.config/zsh/local/env.zsh.example
|
||||
!/.config/zsh/opt.zsh
|
||||
!/.config/zsh/opt/chase.zsh
|
||||
!/.config/zsh/opt/completion.zsh
|
||||
|
@ -9,6 +9,8 @@ z-ssh-agent() {
|
||||
|
||||
break
|
||||
done
|
||||
[ -z "${SSH_AGENT_PID}" ] || kill "${SSH_AGENT_PID}"
|
||||
unset SSH_AGENT_PID
|
||||
|
||||
(( ${+commands[ssh-agent]} )) || return 127
|
||||
|
||||
@ -24,6 +26,6 @@ z-ssh-agent() {
|
||||
fi
|
||||
|
||||
{
|
||||
eval "$(ssh-agent -s -k -a "${SSH_AUTH_SOCK}")"
|
||||
eval "$(ssh-agent -s -a "${SSH_AUTH_SOCK}")"
|
||||
} >/dev/null
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user