pfarrell / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

The point is to avoid a monolithic .bashrc file.

Based off Zach Holman's dotfiles. This dotfiles implementation is built for a Bash environment on OSX, works pretty well on Linux (Ubuntu), and hasn't been tested on Cygwin (i hope never!)).

It is modular enough that you can pick and choose what you want. My main toolset is around

  • AWS
  • vim
  • todo.txt
  • Ruby
  • Hadoop

Although, this should be in motion, as reflected by the dirs in the repo... which is the whole point, after all :).

idea

This project manages all of your resource and environment files. Projects (of your choosing) store their files in directories. For instance, check out the vim directory. It contains my .vimrc and .vim directory.

The benefit is, all your environments are under source control and are split into modular deploys. Adding a new environment is as simple as adding a new directory and putting the appropriate files in there.

Key files

File Description
*rc.symlink Generate .*rc files in your home directory. For instance bash_profile.symlink will cause a symlink to be created in ~/.bash_profile -> [dotfiles location]/bash/bash_profile.symlink
env.sh Contain things
private_env.sh Contain things you don't want checked into source control (like passwords or api keys) but which are part of your local environment

install

Install with rake install.
This will cause the various .*rc files in your home directory to become symlinks to the respective *symlink files in each directory

New evn.sh and private_env.sh files will be sourced the next time you create a term or login. *.symlink files will be picked up by a

rake install You will not destroy anything by re-running this command. Also, the rake command shouldn't overwrite any existing files in your home dir without your interactive approval.

#Assumed installs

  • colordiff
  • git
  • hub

About


Languages

Language:Vim Script 99.3%Language:Perl 0.4%Language:Shell 0.2%Language:Ruby 0.1%