Skip to content

mattkingston/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

What is it?

A collection of starter dotfiles for OS level settings and applications.

Usage

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)"

Install actions

  1. Checks for suitable OS versions (Ubuntu >= 14.04 or OSX >= 10.9)
  2. Downloads the dotfiles tarball to your computer
  3. Backs up existing dotfiles - Anything that gets modified by the installer is backed up if it exists
  4. Allows you to set up proxy settings
  5. Installs applications / command-line tools for OS X / Ubuntu
  6. Installs NVM to ~/.dotfiles/nvm
  7. Installs default NPM global packages
  8. Installs RVM to ~/.dotfiles/rvm
  9. Installs vim plugins
  10. Sets custom OS X / Ubuntu preferences
  11. Sets up Github SSH keys

Customize

Local Settings

The dotfiles can be easily extended to suit additional local requirements by using the following files:

~/.bashrc.local

If the ~/.bashrc.local file exists, it will be automatically sourced.

~/.gitconfig.local

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.:

~/.vimrc.local

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.

~/.gvimrc.local

Same as ~/.vimrc.local but for ~/.gvimrc.

Acknowledgements

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.

License

The code is available under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors