From aff206e2a0b859716b02acae09c5d1c9a9846a7a Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 11 Apr 2022 15:15:04 -0700 Subject: [PATCH] [zsh] Update the nethack function to connect over SSH to alt.org --- zsh/func/nethack | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zsh/func/nethack b/zsh/func/nethack index 9d46f76..26f6f5e 100644 --- a/zsh/func/nethack +++ b/zsh/func/nethack @@ -1,5 +1,4 @@ #!/usr/bin/env zsh -# vim: set ft=zsh: # Eryn Wells function nethack @@ -17,14 +16,14 @@ function nethack done if (( $remote )) && binary_exists nethack; then - telnet nethack.alt.org + ssh nethack@alt.org return $? else if binary_exists nethack; then command nethack return $? else - telnet nethack.alt.org + ssh nethack@alt.org return $? fi fi