From d26f8971d02684caf6e89e88d2611ab80d7612c0 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Thu, 6 Jul 2023 12:21:45 -0400 Subject: [PATCH] Fix bash formatting --- bash/bash_login.host | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bash/bash_login.host b/bash/bash_login.host index fd3902d91..7335d8745 100644 --- a/bash/bash_login.host +++ b/bash/bash_login.host @@ -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"