dotfiles!
VimL Shell Perl Ruby Other
Latest commit a948ed8 Nov 30, 2016 @gabebw Assume Postgres.app
Permalink
Failed to load latest commit information.
bin Don't try running foreman on port 6000 Nov 28, 2016
helpful-tips Persist ssh-add across reboots Oct 4, 2016
karabiner.d/configuration Revert "Update Karabiner for mechanical keyboard" Oct 24, 2016
ssh Configuration for i.gabebw.com Oct 9, 2016
system Don't set an insane key repeat Mar 14, 2016
tag-clojure/vim Only enable rainbow parentheses for Clojure Mar 7, 2016
tag-git Autosquash git commits Nov 23, 2016
tag-haskell Only set Haskell's shiftwidth in Haskell files Jun 21, 2016
tag-python Python 2 is widely supported Oct 10, 2016
tag-ruby Don't echo while generating Oct 27, 2016
tag-tmux Only start tmux if not in an SSH session Oct 13, 2016
terminal-themes Update terminal theme Mar 30, 2014
vim Open files to a specific line number Nov 30, 2016
zsh-plugins Install zsh-syntax-highlighting from source Oct 12, 2016
zsh Assume Postgres.app Nov 30, 2016
.gitignore Ignore icopy'd files Sep 26, 2016
Brewfile Brewfile: karabiner-elements Nov 2, 2016
README.md Remove outdated screenshot of my prompt May 21, 2016
agignore Never search in .git Sep 26, 2016
ctags Update ctags for Elixir and JavaScript May 23, 2016
curlrc curl: Don't _always_ turn on verbose mode Jul 3, 2016
editrc editrc Oct 11, 2011
iex.exs iex: show results in cyan Sep 21, 2016
inputrc irb doesn't like `set -o vi` in inputrc Oct 13, 2016
install.sh Install rbenv to ~/.rbenv Oct 13, 2016
nethackrc OPTIONS=sound is an invalid option Apr 29, 2016
psqlrc shut up, psql Nov 30, 2013
rcrc Let autocd handle `dotfiles` cd-ing to the dir May 21, 2016
vimrc vim: Don't show error if colorscheme not found Oct 13, 2016
zshenv Make rbenv's new location available in zshenv Oct 13, 2016
zshrc Install zsh-syntax-highlighting from source Oct 12, 2016

README.md

dotfiles

Gabriel Berke-Williams' dotfiles for Zsh, ruby, git, and more.

Questions? Comments? Open an issue or tweet @gabebw.

Prerequisites

  • OS X
  • Zsh (to change your default shell to Zsh: chsh -s $(which zsh) $USER)
  • Homebrew

Installation

$ git clone git@github.com:gabebw/dotfiles.git ~/.dotfiles
$ cd ~/.dotfiles
$ ./install.sh

It will install rcm and use that to safely symlink the dotfiles, prompting you if a file already exists (like if you already have ~/.zshrc).

Organization

rcm will symlink all files into place, keeping the folder structure relative to the tag root. However, non-configuration files and folders like system/, Brewfile, README.md, etc will not be linked because they are in the EXCLUDES section of the rcrc file.

Tags

rcm has the concept of tags: items under tag-git/ are in the git tag, and so on. I'm using it for organization, so that if someone starts using Haskell I can point them at all of my Haskell configuration across Vim/Zsh/GHCi, all in one place.

Zsh

Zsh has lots of good stuff in zsh/options.zsh and zsh/aliases.zsh.

The Zsh prompt is in zsh/prompt.zsh. It shows the current directory, the current git branch, the status of the git branch (changed, staged, clean, etc) and the current Ruby version. It is well-documented, and entirely self-contained: you can copy it into your dotfiles with no changes to test it out. (It does assume you use rbenv.)

Attribution

Many scripts and configurations have been inspired by or outright stolen from my colleagues at thoughtbot. Of special note, I've stolen many things from Chris Toomey and Gordon Fontenot, among others that I'm sure I'm forgetting.