diff --git a/rc b/rc index 1fd058b..ae74b7c 100644 --- a/rc +++ b/rc @@ -73,6 +73,16 @@ function configure_ls } +function nethack +{ + if binary_exists nethack; then + command nethack + else + telnet nethack.alt.org + fi +} + + # NetHack options # use color in the terminal binary_exists nethack && export NETHACKOPTIONS="color"