dotfiles/.bash_profile
2023-07-07 10:40:16 +02:00

18 lines
408 B
Bash

# .bash_profile
# Get the aliases and functions
[ -f $HOME/.bashrc ] && . $HOME/.bashrc
export _JAVA_AWT_WM_NOREPARENTING=1
export PATH="$PATH:/opt/texlive/2023/bin/x86_64-linux/"
# SSHAGENT
export SSH_AUTH_SOCK=${HOME}/.ssh/agent
if ! pgrep -u ${USER} ssh-agent > /dev/null; then
rm -f ${SSH_AUTH_SOCK}
fi
if [ ! -S ${SSH_AUTH_SOCK} ]; then
eval $(ssh-agent -a ${SSH_AUTH_SOCK} 2> /dev/null)
fi