A collection of scripts and commands that I use every day.
Shell Vim script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
git/hooks
scripts
setup
shpec
.ackrc
.bash_aliases
.bash_env
.bash_functions
.bash_profile
.bashrc
.ctags
.gitconfig
.gitignore
.tmux.conf
.travis.yml
.vimrc
.vimrc.local
README.md

README.md

rylnd/dotfiles Build Status

A collection of scripts and commands that I use every day.

scripts/pair

Configures the git author/email for multiple developers when pair programming

Setup (Recommended)

First, pull down the repo:

git clone git@github.com:rylnd/dotfiles

Then, to install (or to get the latest version):

cd dotfiles
setup/pair upgrade

Setup (Automatic)

For a one-off install, simply paste the following into your command line:

curl -sL https://raw.github.com/rylnd/dotfiles/master/setup/pair | bash -s install

Setup (Manual)

Define the pair script in your shell by adding the following to a shell startup file (~/.bash_profile, ~/.bashrc, etc.):

# define the pair function
source "<PATH_TO_PAIR_SCRIPT>"

If you want to persist the pair between sessions, without having to call pair, you can do something like

# quietly set the previous pairing state
pair -q

in the same file as above.

A helpful alias if you don't like the spacebar:

alias unpair='pair -u'

Usage:

$ pair rylnd mathias   # Sets the author to 'Matt Gauger and Ryland Herrick'
$ pair -u              # Unsets the author/email

You can also set more than two users:

$ pair bigtiger devn mathias   # Sets the author to 'Jim Remsik, Devin Walters, and Matt Gauger'

And check your current configuration:

$ pair                  # Lists the current author/email

dotfiles

The dotfiles that I actually use.

Setup

Assuming you've cloned the repo:

cd path_to_repo
setup/dotfiles

will symlink the dotfiles to your home directory (but won't overwrite existing files).

setup/

Scripts to aid in the install/update process

shpec/

shpec tests to document the behavior of these scripts.

Contributing

Pull requests are always welcome.