From 27b42564b724dfdfa0086aabcb5d058db85e2102 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Sun, 23 Jun 2024 14:08:06 +0200 Subject: [PATCH] Bugfix. --- config/zsh/ssh.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/zsh/ssh.zsh b/config/zsh/ssh.zsh index 8af0666..a3fd6ef 100644 --- a/config/zsh/ssh.zsh +++ b/config/zsh/ssh.zsh @@ -1,4 +1,4 @@ -if [[ $(uname -a) = "Darwin" ]]; then +if [[ $(uname -s) = "Darwin" ]]; then function ssh() { osascript -e 'display notification "Touch the YubiKey" with title "2fa required"' /opt/homebrew/bin/ssh $*