No description
Find a file
2013-09-05 07:48:17 -07:00
codetemplates/django/basic Add .gitignore to django basic template 2013-08-09 10:13:52 -07:00
dircolors
irssi
mutt
vim Remove hard set tw and cc in python after script 2013-08-30 09:11:14 -07:00
zsh/func Add setup_android function 2013-08-30 09:11:14 -07:00
.gitignore
env Use $path for setting path components in .env 2013-08-30 09:24:25 -07:00
env.darwin Clean up path additions in env.darwin 2013-09-04 20:33:22 -07:00
env.linux Move some system-specific settings to their corresponding env files 2013-08-30 09:21:49 -07:00
env.local Clear out accidentally added local settings in env.local 2013-03-25 13:21:13 -07:00
gdbinit
gitconfig Set git push.default = simple 2013-08-30 09:02:55 -07:00
gvimrc
indent.pro
ledgerrc
muttrc
profile
rc Re-enable alias to jobs 2013-09-05 07:48:17 -07:00
rc.darwin Update rc init scripts 2013-09-04 20:26:49 -07: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
README.md
screenrc
setup.sh Fix setup.sh: typos and such 2013-09-04 14:03:45 -07:00
shell-functions Add noeol option to print_msg() 2013-08-29 14:47:57 -07:00
tmux.conf
toprc
vimrc Java additions 2013-08-30 09:11:14 -07:00
vimrc.local
Xdefaults
zprofile
zshenv
zshrc Fix zsh function and module loading 2013-08-30 09:11:14 -07: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.