Overview

Dotfiles and command-line tools

This repository contains my "dot" files and other command-line tools. While I may have others that I choose to selectively install in a particular environment, the files in this repository form the baseline and are among the first components to be installed when I set up a new environment.

Assumptions

I use Mac OS X as my primary development environment, deploying most frequently to virtualized Debian-based Linux server instances. These tools reflect that set-up, so you may need to change things around to suit your particular environment(s).

The following are assumed to have already been installed:

Bootstrapping

You can either manually copy over the files that you find useful, or you can get the whole enchilada in a new environment via the following bootstrap steps:

hg clone --insecure https://bitbucket.org/j/cmd ~/tools
./tools/etc/bootstrap.sh
source ~/tools/etc/link

File and directory structure

I store my command line tools in a folder (~/tools) that in turn contains several sub-folders (bin etc lib) to help keep the files organized. Since I link (etc/link) the dot files to the root of my home folder, I prefer to store them without the prepended dot ("hgignore" rather than ".hgignore"). I add the dot when creating the symlink. So if you use any of those files, make sure you put the dot back.

~/tools/
        bin/
        lib/
        etc/
            vim/

Warning

I change these files frequently, and sometimes I may break things that worked just fine beforehand. If you find something that doesn't operate as optimally as it could, please let me know.

Inspiration

InfiniteRed