Skip to content

jqr/dotfiles

Repository files navigation

Dotfiles for bash/zsh on macOS. See the Cheat Sheet for a quick reference of all aliases and commands.

Install

Symlink all the dotfiles into the appropriate locations:

bin/install

This symlinks config files (bashrc, zshrc, gitconfig, etc.) into your home directory and inserts generated blocks into ~/.gemrc and ~/.gitconfig.

To pull the latest changes and re-install:

dotfiles-update

You'll be notified every couple weeks when updates are available, just run dotfiles-update when prompted.

How it works

Shell config is modular. bashrc and zshrc both source every *.sh file in shell.d/, which includes git aliases, prompt, completions, language version managers, and more. Most files work in both bash and zsh.

Local-only modifications

Any files matching local.* in shell.d/ are not tracked by git.

Optional Setup

bin/silence-last-login-message    # suppress "Last login" line in new terminals

Testing

bin/test                          # shellcheck + bash/zsh startup checks
bin/test-install .                # full install test in a temp HOME
bin/test-install HEAD~3 HEAD .    # test an upgrade sequence
bin/test-milestone-upgrade 30     # test upgrading from every 30-day milestone to current

About

Super bad-ass dotfiles for any Ruby/Rails/Git/OSX user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors