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