_____  _                 __        __           _              _  ___ ___                    
   (_   _)| |                \ \      / /          | |            (_)/  _/  _|                _  
     | |__| |__ __ ______     \ \    / __ ______ __| |____ ___   _ _ | / | /      _____ ____ | | 
     | /  | __ / _` | __ )  __ \ \  / /  ` | __ /  \ /  _ / _ |\/_| |_ _|_ _| __  | __ / __ |_ _|
  /\_| |()| || |(_| | || | |\_\ \ \/ /| -  | || | -  | ___\__ | / | || | | | |\_\ | ||_| \__/| |_
  \____\__|_||_\__,_|_||_| \|_|  \__/ \__,_|_||_\__/_\___/__/ |_| |_||_| |_| \|_| |_||_\____||__/
                                                         |___/                                   

Config Files

"You can tell a lot about a woman by the contents of her purse..." ~Mr. Incredible, 2004

Well, I say you can tell a lot about a Linux nerd by the contents of his/her config files! These are a few of my config files for various Linux applications.

.zshrc

I installed oh-my-zsh to manage the themes for zsh. Here are my modifications to the .zshrc file. I also separated the theme into a separate file I named .zshtheme.

.emacs.d/init.el

This config file turns off the welcome screen, scratch message, tool bar, menu bar, backups, and auto-save; sets the default directory to /DATA since I store most of my files in that directory; defines a function to backwards-kill more intelligently; and sets some abbreviations and other shortcuts. I followed this page to set up my emacs configuration. Instead of using the recommended way of swapping the caps lock and control keys, I put this:

setxkbmap -option "shift:both_capslock,caps:ctrl_modifier"
into my .profile

.tmux.conf

I changed the prefix key to Ctrl-a from Ctrl-b since it is closer to the control key, especially with caps lock set to control. Other settings in .tmux.conf make splitting the window easier to remember with / and \ instead of " and %.

.nanorc

.nanorc includes syntax highlighting, makes text wrap on the end of the line, and remaps the keys for cut, paste, save, and exit.

.face

The .face file is used for your profile picture on your computer. I created this shape in inkscape and used it for my website favicon, profile picture, etc.

.config/user-dirs.dirs

Since I use /DATA for a lot of my files, I changed .config/user-dirs.dirs file to point to directories in /DATA.

.nethackrc

NetHack is a roguelike dungeoncrawler game released in 1987 (that's older than me!), and after 2003, it stopped getting updates. But in 2016, development began again and NetHack 3.6.0 was released! I've been playing it off and on for a few years, and I've accumulated a growing config file as I discovered useful options or saw other players' setups at https://alt.org/nethack/. You can see my user page here, which includes records of all my games, and even a ttyrec recording of them. When the new version was released, some config options changed, which is why so much of my .nethackrc is commented out. I made an install script so I could install nethack whenever I install a new Linux distribution.