Fix bash formatting

This commit is contained in:
John Mertz 2023-07-06 12:21:45 -04:00
parent 846097a632
commit d26f8971d0
1 changed files with 4 additions and 4 deletions

View File

@ -2,16 +2,16 @@
## Configure static SSH Agent
export SSH_AUTH_SOCK="$HOME/.spool/ssh-agent.sock"
if [ -e $SSH_AUTH_SOCK ]; then
rm $SSH_AUTH_SOCK
if [ -e "$SSH_AUTH_SOCK" ]; then
rm "$SSH_AUTH_SOCK"
fi
if [ -e "$HOME/.spool/ssh-agent.env "]; then
if [ -e "$HOME/.spool/ssh-agent.env" ]; then
rm "$HOME/.spool/ssh-agent.env"
fi
if [[ "$(pgrep ssh-agent)" ]]; then
pkill ssh-agent
fi
. "$HOME/scripts/ssh-agent.sh"
. ${HOME}/scripts/ssh-agent.sh
# Static/predictable Sway socket
export SWAYSOCK="$HOME/.spool/sway-ipc.sock"