Skip to content

brichards/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install Script

This is based on Andy Fragen's mac-clean-install repo.

I've written my install script to be fairily deterministic: I want it to only install/create things that don't already exist.

I've also written it to only install the components I actually want on a given computer – not everything I do needs to be on every computer I own (e.g. video production vs web development) – and so the script prompts for input before installing anything.

This script supports remote execution, e.g.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/brichards/dotfiles/master/install.sh)"

Or it can be run locally after cloning this repo, e.g.

git clone [email protected]:brichards/dotfiles.git ~/.dotfiles
sh ~/.dotfiles/install.sh

MacOS Prefs Script

This script is based on Mathias Bynens macos prefs script and sets application and system preferences to my preferred defaults.

It is called automatically from the install.sh script (if the option to install prefs is selected). Alternatively, it can also be called manually via remote execution, e.g.:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/brichards/dotfiles/master/install-macos-prefs.sh)"

Or it can be run locally after cloning this repo, e.g.:

git clone [email protected]:brichards/dotfiles.git ~/.dotfiles
sh ~/.dotfiles/install-macos-prefs.sh

Dotfiles

These are my personal dotfiles. You probably don't want to copy these as-is.

But you probably do want to copy some of the other dotfile bootstraps hosted on GitHub or otherwise use mine for inspiration.

So far, these include my:

Helpful tip

When configuring a new machine, clone this repo to ~/.dotfiles and then symlink each file to the user directory, e.g.:

git clone [email protected]:brichards/dotfiles.git ~/.dotfiles
ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
ln -s ~/.dotfiles/.zshrc ~/.zshrc
ln -s ~/.dotfiles/eslintrc.json ~/Sites/www/eslintrc.json
ln -s ~/.dotfiles/wp-cli.yml ~/Sites/www/wp-cli.yml
source ~/.zshrc

About

Just some settings and such

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages