about summary refs log tree commit diff
path: root/home/shell/zsh/ssh-agent.zsh
blob: 1e5d81ce96306ce07f1a6e847ccaba128a93bec3 (plain) (blame)
1
2
3
if [ $(ps ax | grep "[s]sh-agent" | wc -l) -eq 0 ] ; then
  eval $(ssh-agent -s -a ${XDG_RUNTIME_DIR}/ssh-agent.sock) > /dev/null
fi