A set of vim, zsh, git, and tmux configuration files.
-
brew tap thoughtbot/formulae brew install rcm zsh
-
wget https://thoughtbot.github.io/rcm/debs/rcm_1.2.2-2_all.deb sudo dpkg -i rcm_1.2.2-2_all.deb
-
terminator(optional)apt-get install terminator
Set zsh as your login shell:
chsh -s $(which zsh)
Clone onto your laptop:
cd
git clone git://github.com/ctrabold/dotfiles.git
ln -s dotfiles/rcrc .rcrc
rcup -v -t darwin
rcup -v -t ubuntu
This will create symlinks for config files in your home directory. The ln -s dotfiles/rcrc .rcrc
command only creates a symlink for the rcrc file, which excludes the README.md, LICENSE and Brewfile files, that should not be symlinked.
We then run rcup again to create symlinks on all the files but with exclude patterns within .rcrc.
Make sure you use the ubuntu tag when executing this on Ubuntu machines!
You can then safely run rcup multiple times to update:
rcup -t ubuntu
git configuration:
- Ignores a global set of files through
~/.gitignore_global - Sets a bunch of
aliasesin ~/.gitconfig`
Ruby configuration:
- Never download documentation for Rubygems
Shell aliases and scripts:
- see
~/.aliases
Sublimetext3 configuration
- Symlinks packages and settings via
post-uphook
tmux configuration:
- The
tmuxconfig file is a modified version of from the tmux book.
vim configuration:
- My vim config is based on janus.
colorscheme solarizedlet mapleader = ","
Put your customizations in dotfiles appended with .local:
~/.aliases.local~/.gitconfig.local~/.tmux.conf.local~/.zshrc.local
For example, your ~/.aliases.local might look like this:
# Productivity
alias todo='$EDITOR ~/.todo'
Your ~/.gitconfig.local might look like this:
[alias]
l = log --pretty=colored
[pretty]
colored = format:%Cred%h%Creset %s %Cgreen(%cr) %C(bold blue)%an%Creset
[user]
name = John Doe
email = john@example.com
Your ~/.zshrc.local might look like this:
# recommended by brew doctor
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
You can also override the files by storing them inside the dotfiles-local folder.
Just use the same filenames as in the dotfiles folder to override the default files with your files.
apm install --packages-file package-list.txt
- These files are heavily inspired by thoughtbot, inc. Thank you for your inspiring work! The initial versions were inspired by the awesome folks at peepcode.
tmuxis awesome - Thetmuxbook helped me getting used to it and it's fun to read. Thetmuxinatorgem makestmuxeven more fun!- My zsh config is based on oh-my-zsh.