Zprofile ssh-agent: FIX AMOGUS SPACE CHARACTER.

This commit is contained in:
Viyurz 2024-02-21 14:04:47 +01:00
parent d610225c84
commit fca6541e00
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8

View file

@ -1,5 +1,5 @@
# SSH Agent # 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 pkill -u "$USER" -9 ssh-agent
ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env" ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
fi fi