This commit is contained in:
2023-05-25 16:20:12 +02:00
parent 7a2d8666e7
commit 7fc48a5009
4 changed files with 35 additions and 12 deletions

16
.bash_profile Normal file
View File

@ -0,0 +1,16 @@
# .bash_profile
# Get the aliases and functions
[ -f $HOME/.bashrc ] && . $HOME/.bashrc
export _JAVA_AWT_WM_NOREPARENTING=1
# 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