dotfiles/.customrc

15 lines
444 B
Bash

#!/bin/bash
# add golang to path
export PATH=${PATH}:/usr/lib/go-1.22/bin/:${HOME}/go/bin
# add uxn to path
export PATH=${PATH}:${HOME}/code/git.sr.ht/rabbits/uxn/bin
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
# once mc-agent started successfully override gnome-keyring ssh component
eval "$(<~/.mc-agent-env)"
fi