5 lines
315 B
Bash
5 lines
315 B
Bash
# The alpha release of cosmic doesn't support xdg autostart so this is a hack to handle my ssh-agent
|
|
if [ "${XDG_CURRENT_DESKTOP}" == "COSMIC" ]; then
|
|
ps -ef | grep "ssh-agent" |grep -v grep > /dev/null || ssh-agent -a /run/user/1000/ssh-agent.socket
|
|
export SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket
|
|
fi
|