From 09e8c5c4cec8dcf2205a533b78b62b5db0d6d341 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 27 Jul 2023 11:29:50 -0400 Subject: [PATCH] fix syntax --- configs/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/zsh/.zshrc b/configs/zsh/.zshrc index d558443..76704df 100644 --- a/configs/zsh/.zshrc +++ b/configs/zsh/.zshrc @@ -38,7 +38,7 @@ if type -p nvim > /dev/null; then fi # Replace gnome-keyring with default ssh agent if possible -if HOSTNAME="ewpratten-laptop"; then +if [[ "$HOSTNAME" == "ewpratten-laptop" ]]; then if type -p gnome-keyring-daemon > /dev/null; then killall gnome-keyring-daemon 2> /dev/null && eval `ssh-agent` fi