.profile: only start ssh-agent on DEFAULT profile

This commit is contained in:
dogeystamp 2023-07-13 21:26:37 -04:00
parent 5f03d14a14
commit f3be7254d3
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -84,6 +84,8 @@ export PATH="$PATH":"$XDG_DATA_HOME"/go/bin
# cppman can't set it itself for some reason
export MANPATH="$MANPATH":~/.cache/cppman/
eval $(ssh-agent)
if [ "$SYSTEM_PROFILE" = "DEFAULT" ]; then
eval $(ssh-agent)
fi
. .config/bashrc