From 1cb1885be0ef5d81d9b8922d6a562934c59f3954 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 19 Aug 2017 14:13:59 -0400 Subject: Move nethack options to env --- curtis/.nethackrc | 11 ----------- curtis/.ssh/config | 2 ++ curtis/.zshrc | 4 ++++ link.sh | 1 - 4 files changed, 6 insertions(+), 12 deletions(-) delete mode 100644 curtis/.nethackrc diff --git a/curtis/.nethackrc b/curtis/.nethackrc deleted file mode 100644 index 01b76e70..00000000 --- a/curtis/.nethackrc +++ /dev/null @@ -1,11 +0,0 @@ -OPTIONS=name:June -OPTIONS=role:Valkyrie -OPTIONS=race:Human -OPTIONS=gender:female -OPTIONS=align:neutral -OPTIONS=dogname:Light - -OPTIONS=DECgraphics -OPTIONS=color - -OPTIONS=pickup_types:$!?+/= diff --git a/curtis/.ssh/config b/curtis/.ssh/config index 8992ad3a..4ae18c54 100644 --- a/curtis/.ssh/config +++ b/curtis/.ssh/config @@ -3,6 +3,8 @@ Include config_private HashKnownHosts yes +SendEnv NETHACKOPTIONS + Host tux.local thursday.local ForwardAgent yes RemoteForward 7062 127.0.0.1:7062 diff --git a/curtis/.zshrc b/curtis/.zshrc index b05b4e39..77e4569d 100644 --- a/curtis/.zshrc +++ b/curtis/.zshrc @@ -27,6 +27,10 @@ export CLICOLOR=1 [[ "$OSTYPE" =~ 'linux-gnu' ]] \ && alias ls='ls --color=auto' grep='grep --color' rm='rm -I' +export NETHACKOPTIONS='name:June, role:Valkyrie, race:Human, gender:female, + align:neutral, dogname:Moro, catname:Baron, pickup_types:$!?+/=, color, + DECgraphics' + alias gs='git status --short --branch' gd='git diff' alias gsh='git show' gl='git log --graph --pretty=log' alias gco='git checkout' gb='git branch' gm='git merge' gst='git stash' diff --git a/link.sh b/link.sh index bc43ce88..61557b41 100755 --- a/link.sh +++ b/link.sh @@ -41,7 +41,6 @@ link '.gdbinit' link '.gnupg/gpg-agent.conf' link '.hushlogin' link '.inputrc' -link '.nethackrc' link '.psqlrc' link '.ssh/config' link '.zshrc' -- cgit 1.4.1