These are the configuration files (dot files) that I use for my MacBook and Ubuntu servers/slices. Files have been included for:
- Bash
- ChkTeX
- Git
- GNU Readline Library to enable
vicommand line editing mode - Mercurial
- npm
- RVM
- Tmux
- Vim using Janus
To start using this repository, run:
- Clone the repositoiry using
git clone https://github.com/matthewrankin/dotfiles.git - Deploy the dot-files by running
./deploy_dot_files.py
Whenever you want to pull the latest updates from GitHub use:
$ git pullThis script does the following:
- Expects to be run from the directory containing the dot-files that
have been cloned from github (e.g.,
/Users/me/dev/dot-files/) - On a per file basis, checks to see if symlinks from the user's home
directory to the
dot-filesdirectory already exist and checks to make sure that the file in thedot-filesdirectory does exist. - If a symlink does not exist but the file does exist in the
dot-filesdirectory, then the current file in the user's home directory will be backed up and a symlink will be created - By using symlinks instead of copying files, the
deploy_dot_files.pyscript only needs to be run one time. To update simply clone the github repository usinggit pull.