A collection of starter dotfiles for OS level settings and applications.
To setup the dotfiles just run the appropriate snippet in the terminal:
| OS | Snippet |
|---|---|
| OS X | bash -c "$(curl -kLsSH 'Cache-Control: no-cache' https://raw.github.com/mattkingston/dotfiles/master/setup.sh)" |
| Ubuntu | bash -c "$(wget --no-check-certificate --no-cache -qO - https://raw.github.com/mattkingston/dotfiles/master/setup.sh)" |
- Checks for suitable OS versions (Ubuntu >= 14.04 or OSX >= 10.9)
- Downloads the dotfiles tarball to your computer
- Backs up existing dotfiles - Anything that gets modified by the installer is backed up if it exists
- Allows you to set up proxy settings
- Installs applications / command-line tools for OS X / Ubuntu
- Installs NVM to ~/.dotfiles/nvm
- Installs default NPM global packages
- Installs RVM to ~/.dotfiles/rvm
- Installs vim plugins
- Sets custom OS X / Ubuntu preferences
- Sets up Github SSH keys
The dotfiles can be easily extended to suit additional local requirements by using the following files:
If the ~/.bashrc.local file exists, it will be automatically sourced.
If the ~/.gitconfig.local file exists, it will be automatically
included after the configurations from ~/.gitconfig, thus, allowing
its content to overwrite or add to the existing git configurations.
Note: Use ~/.gitconfig.local to store sensitive information such
as the git user credentials or proxy information, e.g.:
If the ~/.vimrc.local file exists, it will be automatically sourced
after ~/.vimrc, thus, allowing its content to add or overwrite the
settings from ~/.vimrc.
Same as ~/.vimrc.local but for ~/.gvimrc.
I would like to thank the following superb developers for their ideas, and great code which I was able to learn from, extend upon and in some areas shamelessly copy.
The code is available under the MIT license.