Fix SSH socket locationdddd

This commit is contained in:
John Mertz 2022-11-07 14:41:08 -05:00
parent 0d80fd921e
commit 742a3db2e1
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT
source ${HOME}/.dotfiles/bash/bash_aliases
# Configure static SSH Agent
export SSH_AUTH_SOCK=~/.ssh/ssh-agent.sock
export SSH_AUTH_SOCK=~/.spool/ssh-agent.sock
if [ -e $SSH_AUTH_SOCK ]; then
rm $SSH_AUTH_SOCK
fi

View File

@ -92,7 +92,7 @@ export TERM="xterm"
# Set initial title
echo -e -n "\033]2;Welcome to Bash\007"
SSH_AUTH_SOCK="$HOME/.ssh/ssh-agent.sock"
SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
# Distrobox only
if [ -f "/run/.containerenv" ]; then