dotfiles/zsh/ssh-agent.zsh
2016-02-23 01:07:54 +03:00

6 lines
114 B
Bash

if [[ ${EUID} != 0 ]]; then
if [[ -e "${HOME}/.ssh/id_rsa" ]]; then
ssh-add </dev/null 2> /dev/null
fi
fi