Skip to content

.files, including ~/.macos — sensible hacker defaults for Mac OS

Notifications You must be signed in to change notification settings

dschwertfeger/dotfiles

 
 

Repository files navigation

David's dotfiles

The use of this repo is mainly as a backup of my dotfiles for myself and to provide documentation and a headless installation of my development environment.

It's originally forked from Mathias Bynens' dotfiles and I took a couple of ideas from Paul Irish's fork of Mathias' repo.

Mathias' is the repo to fork, though.

Install the necessary apps

My basic setup is captured in setup.sh which adds homebrew, z, nvm, node, npm, rvm, ruby etc.

Before running setup.sh, make sure to install Apple’s Xcode Command Line Tools to get the correct C language compiler for installing RVM.

Private config

Put any private configuration into a file called .extra which you do not commit to this repo and just keep in your ~/

Syntax highlighting for dotfiles

Install Dotfiles Syntax Highlighting via Sublime Text 2 Package Control

Sensible OS X defaults

When setting up a new Mac, you may want to set some sensible OS X defaults:

./.osx

Overview of files

Automatic config

  • .vimrc, .vim - vim config, obv.

Shell environment

  • .aliases
  • .bash_profile
  • .bash_prompt
  • .bashrc
  • .exports
  • .functions
  • .extra - not included, explained above

Manual run

  • setup.sh - basic setup, explained above
  • .macos - run on a fresh osx machine
  • .brew - homebrew initialization

git, brah

  • .git

  • .gitattributes

  • .gitconfig

  • .gitignore

  • .inputrc - config for bash readline

Installation

git clone https://github.com/dschwertfeger/dotfiles.git && cd dotfiles && ./sync.sh

To update later on, just run the sync again.

About

.files, including ~/.macos — sensible hacker defaults for Mac OS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 58.9%
  • Vim Script 41.1%