No description
Find a file
2018-03-08 20:59:17 -08:00
bin [num] Rename: remove .py 2016-11-20 09:45:08 -08:00
codetemplates/django/basic Add .gitignore to django basic template 2013-08-09 10:13:52 -07:00
Colors [colors] New SolarizedDark color for newer version of Terminal 2017-01-15 08:33:59 -08:00
dircolors Updated darwin ls colors 2014-07-20 09:09:28 -07:00
emacs.d [emacs] Remove evil 2015-12-05 10:23:04 -08:00
ssh [ssh] Add basic client config 2015-01-07 10:20:02 -08:00
vim [vim] Add custom Python snippets for arg_parse and ifmain 2016-09-29 10:41:46 -07:00
weechat [weechat] Version updates and such 2016-04-10 18:09:36 -07:00
zsh/func [zsh] Set a file URL in the Apple Terminal title 2017-01-31 22:57:45 -08:00
.gitignore Ignore some (neo)vim state files 2017-01-26 19:35:18 -08:00
emacs [emacs] Don't show the menu bar 2014-10-17 23:15:35 -07:00
env [zsh] Add append-to-path function to env 2017-01-26 10:31:12 -08:00
env.darwin [zsh] Add all python user bin/ directories to path 2018-03-08 20:58:55 -08:00
env.linux Move some system-specific settings to their corresponding env files 2013-08-30 09:21:49 -07:00
env.local Add modeline to env.local 2013-10-07 21:27:47 -07:00
gdbinit Add a GDB config file (yess!) 2013-01-07 10:13:45 -08:00
gitconfig [git] Add mine alias to dump my commits 2016-09-23 16:57:59 -07:00
gitignore [git] Ignore Python files 2016-04-10 18:10:41 -07:00
gvimrc [vim] no list mode in GUI vim 2015-01-03 18:39:41 -08:00
hgrc Mercurial config 2014-01-21 08:25:20 -08:00
indent.pro
ledgerrc Remove ledgerrc options that don't work with Ledger 3.0 2013-02-01 15:47:15 -08:00
muttrc Sterilize muttrc, move important configuration to account-specific file 2013-12-02 09:48:05 -08:00
nethackrc Turns out my nethack doesn't have hpmon or RACE options 2014-02-10 10:41:03 -07:00
profile New message/log functions 2012-11-29 15:18:57 -08:00
rc [zsh] Adjust keybase arguments in keybase alias 2017-01-26 19:32:50 -08:00
rc.darwin [zsh] Add screenshots detault setup 2016-11-20 09:44:38 -08:00
rc.freebsd Update rc init scripts 2013-09-04 20:26:49 -07:00
rc.linux Update rc init scripts 2013-09-04 20:26:49 -07:00
rc.local [zsh] Set filetype for rc.local 2016-03-12 18:54:11 -05:00
README.md Update the readme 2012-08-08 11:03:48 -07:00
screenrc
setup.sh Add Colors directory; ignore it in setup.sh 2016-02-07 11:22:33 -08:00
shell-functions Add noeol option to print_msg() 2013-08-29 14:47:57 -07:00
tmux.conf [tmux] clear-history on <leader> C-k 2016-09-16 14:08:27 -07:00
toprc
vimrc [vim] Add elm syntax plugin 2018-03-08 20:59:17 -08:00
vimrc.local Fix comments in vimrc.local 2012-11-01 10:49:34 -07:00
Xdefaults
zprofile Check $TMUX variable to see if we're in a tmux session before printing list 2013-03-12 14:01:55 -07:00
zshenv
zshrc [zsh] Fix pasting stuff in viins mode -- HOLY CRAP 2017-01-26 10:31:12 -08:00
zshrc.darwin Add darwin-specific zshrc 2013-08-30 09:11:27 -07:00
zshrc.local

Dotfiles

This is my collection of dotfiles, preserved here for all to see and enjoy. Feel free to copy anything you see here. It would be nice if you added a comment mentioning where you got it.

My environment relies on zsh, vim, and git.

Installation

Clone the repository to a directory on your machine. I like to use ~/.dotfiles.

git clone https://github.com/erynofwales/dotfiles.git ~/.dotfiles

Run the setup script.

cd ~/.dotfiles
./setup.sh

This script will symlink all the config files in the directory to your home directory, clone a bunch of git repos, and do some other miscellaneous setup.

Enjoy.

Shell Environment

As much as possible, I tried to keep these files as system agnostic as possible. I work on lots of different systems so having the ability to bring down my core environment and customize it is very useful. Most of the environment files have three levels:

  1. The main file (e.g. .zshrc).
  2. A system specific file whose name is generated by the uname -s command. So, these files have names like .zshrc.darwin and .env.linux. The system name is exported as $SYS in the .env script.
  3. A machine specific file whose name is derived by appending .local to the main file's name (e.g. .zshrc.local).

Files 2 and 3 are sourced at the end of the main file, so any settings you add there will override those set in the main file.

Loud Noises!

In a recent change I added some extra functions to print out status messages as ZSH starts up. These are all defined in shell-functions (symlinked to ~/.shell-functions by the setup script). At any point in the setup process, you can set the variable $NOISY to a number greater than 0 to see extra status messages.

License

Everything in this repository is licensed under the Creative Commons Attribution 3.0 Unported License.