Matt Kirman's dotfiles
A collection of opinionated settings for OS X, zsh, Ruby, Rails, git, homebrew, rbenv and vim. This repo was initially set up so I could easily transfer settings between computers, but if you share a similar setup you may find these useful.
Inspired by holman/dotfiles.
git clone git://github.com/mattkirman/dotfiles- this can be anywhere in your home directory (I keep mine in
~/Dropboxfor those rare occasions where I've got Dropbox access but no Git)
The install task will symlink the appropriate files in
your home directory. Everything should be configured and tweaked from
within this directory though.
- topic/*.zsh: Any files ending in
.zshget loaded into your zsh environment.
- topic/*.symlink: Any files ending in
*.symlinkget symlinked into your
$HOME. These get symlinked when you run
rake install. You're given the option to back up or skip symlinks if a conf file already exists.
- topic/*.completion.sh: Any files ending in
completion.shget loaded as autocomplete functions.
- If you have installed rbenv then the current ruby is displayed in the right prompt.
- Git repository branch status is displayed in the left prompt (when inside a repository).
headers URL- Display request/response headers for a URL.
gco- Alias of
git count- Show the number of commits made to a repository.
gl- Generates a pretty Git log with branch trees.
git remote-create BRANCH_NAME [REMOTE]- Creates a new local topic branch as well as a corresponding remote branch based on the branch you currently have checked out.
git remote-delete BRANCH_NAME [REMOTE]- Deletes the local branch then the local branch.
git remote-publish- Publishes an existing local topic branch to the remote server.
git remote-rename BRANCH_NAME [REMOTE]- Rename a remote branch and its local tracking branch.
git remote-track BRANCH_NAME [REMOTE]- Track an existing remote branch locally and checkout the branch.
tmx- Share Tmux windows between sessions. This allows you to share windows without forcing you to share the same view.
tssh HOST- Open a remote Tmux session on HOST over SSH. To close the SSH session just detach Tmux.
e FILE- Opens a file in your
extract ARCHIVE- Extracts an archive using the correct command based on the file extension.
reload!- Made any changes to your config?
reload!is your friend.