dotfiles/.bash_profile-cosmic

6 lines
315 B
Bash
Raw Permalink Normal View History

2024-08-17 15:36:14 +00:00
# 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