summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-08-19 14:13:59 -0400
committerJune McEnroe <june@causal.agency>2017-08-19 14:13:59 -0400
commiteeadedc3b1d7b0f46eed2658162991010a51f21e (patch)
tree7c7d753beeff56143653eb0b4eeb1d33e7216c35
parentRemove scala syntax file (diff)
downloadsrc-eeadedc3b1d7b0f46eed2658162991010a51f21e.tar.gz
src-eeadedc3b1d7b0f46eed2658162991010a51f21e.zip
Move nethack options to env
-rw-r--r--home/.nethackrc11
-rw-r--r--home/.ssh/config2
-rw-r--r--home/.zshrc4
-rwxr-xr-xlink.sh1
4 files changed, 6 insertions, 12 deletions
diff --git a/home/.nethackrc b/home/.nethackrc
deleted file mode 100644
index 01b76e70..00000000
--- a/home/.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/home/.ssh/config b/home/.ssh/config
index 8992ad3a..4ae18c54 100644
--- a/home/.ssh/config
+++ b/home/.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/home/.zshrc b/home/.zshrc
index b05b4e39..77e4569d 100644
--- a/home/.zshrc
+++ b/home/.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 7e125791..9d012182 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'