dotfiles/.customrc

11 lines
318 B
Text
Raw Normal View History

#!/bin/bash
2024-03-30 18:36:49 +00:00
# set up moolticute ssh agent
if ! pgrep -u "$USER" mc-agent >/dev/null; then
mc-agent >~/.mc-agent-env
fi
if pgrep -u "$USER" mc-agent &>/dev/null && grep -q 'SSH_AUTH_SOCK=' ~/.mc-agent-env; then
2024-04-11 19:25:48 +00:00
# once mc-agent started successfully override gnome-keyring ssh component
eval "$(<~/.mc-agent-env)"
fi