Skip to content

.files, including ~/.osx — sensible hacker defaults for OS X

Notifications You must be signed in to change notification settings

thedersen/dotfiles

 
 

Repository files navigation

My dotfiles

Installation

Run this on a new machine:

curl -L https://raw.githubusercontent.com/thedersen/dotfiles/master/install.sh | zsh

or, follow instructions below for a more manual process.

Prerequisites

Using Git and the bootstrap script

You can clone the repository wherever you want. The bootstrapper script will pull in the latest version and copy the files to your home folder.

git clone https://github.com/thedersen/dotfiles.git
cd dotfiles
source bootstrap.sh

To update, cd into your local dotfiles repository and then:

source bootstrap.sh

Alternatively, to update while avoiding the confirmation prompt:

source bootstrap.sh -f

Add custom commands without creating a new fork

If ~/.extra exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don’t want to commit to a public repository.

# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
git config --global user.name "username"
git config --global user.email "username@example.com"

You could also use ~/.extra to override settings, functions and aliases.

Sensible macOS defaults

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

./macOS.sh

Install Homebrew formulae

When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):

./brew.sh

Thanks to…

About

.files, including ~/.osx — sensible hacker defaults for OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%