From fca6541e007bbd0fb6d7b8c911c1081baf782d20 Mon Sep 17 00:00:00 2001 From: Viyurz Date: Wed, 21 Feb 2024 14:04:47 +0100 Subject: [PATCH] Zprofile ssh-agent: FIX AMOGUS SPACE CHARACTER. --- .config/zsh/.zprofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index c84f63a..68ccb45 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -1,5 +1,5 @@ # SSH Agent -if ! pgrep -u "$USER" ssh-agent > /dev/null || [[ ! -f "$XDG_RUNTIME_DIR/ssh-agent.env" ]]; then +if ! pgrep -u "$USER" ssh-agent > /dev/null || [[ ! -f "$XDG_RUNTIME_DIR/ssh-agent.env" ]]; then pkill -u "$USER" -9 ssh-agent ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env" fi