summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-08-19 14:13:59 -0400
committerJune McEnroe <programble@gmail.com>2017-08-19 14:13:59 -0400
commit1cb1885be0ef5d81d9b8922d6a562934c59f3954 (patch)
tree5521fd94be0481835fb094588843dfa82789779f
parentRemove scala syntax file (diff)
downloadsrc-1cb1885be0ef5d81d9b8922d6a562934c59f3954.tar.gz
src-1cb1885be0ef5d81d9b8922d6a562934c59f3954.zip
Move nethack options to env
-rw-r--r--curtis/.nethackrc11
-rw-r--r--curtis/.ssh/config2
-rw-r--r--curtis/.zshrc4
-rwxr-xr-xlink.sh1
4 files changed, 6 insertions, 12 deletions
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'