Gabriel Berke-Williams' dotfiles for Zsh, ruby, git, and more.
Questions? Comments? Open an issue or tweet @gabebw.
- OS X
- Zsh (to change your default shell to Zsh:
chsh -s $(which zsh) $USER)
$ git clone firstname.lastname@example.org: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
rcm will symlink all files into place, keeping the folder structure relative
to the tag root. However, non-configuration files and folders like
README.md, etc will not be linked because they are in the
EXCLUDES section of the
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
Zsh has lots of good stuff in
The Zsh prompt is in
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.)
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.