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 $*