adding another hack for cosmic desktop
This commit is contained in:
parent
06d5066997
commit
730609325e
1 changed files with 5 additions and 0 deletions
5
.bash_profile-cosmic
Normal file
5
.bash_profile-cosmic
Normal file
|
@ -0,0 +1,5 @@
|
|||
# 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
|
Loading…
Reference in a new issue