These are my dotfiles, based on holman's setup. They should be cloned in ~/.dotfiles. Running the script in script/bootstrap will symlink all files with a .symlink extension in the home directory.
The macos folder contains scripts to set up a new mac machine with my default settings and install all my packages and software. It also installs zsh, and zim. Check out my literate Emacs config.
THE MACOS SCRIPT IS UNTESTED AND SHOULD NOT BE USED
There are a few special files in the hierarchy.
- bin/: Anything in
bin/will get added to your$PATHand be made available everywhere. - Brewfile: This is a list of applications for Homebrew Cask to install: things like Chrome and 1Password and Adium and stuff. Might want to edit this file before running any initial setup.
- topic/install.sh: Any file named
install.shis executed when you runscript/install. To avoid being loaded automatically, its extension is.sh, not.zsh. - topic/*.symlink: Any file ending in
*.symlinkgets symlinked into your$HOME. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you runscript/bootstrap.
Existing files will be kept and renamed to <filename>.backup.
Warning: If it is run again the new symlinks may overwrite your backups, so
make sure that important files are safe.
git clone https://github.com/harrybournis/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./script/bootstrapSteps:
- Install zsh: Run
~/.dotfiles/script/install-zsh.sh - Install brew and defaults: Run
~/.dotfiles/macos/new-mac-setup.sh - Symlink dotfiles: Run
~/.dotfiles/macos/bootstrap
This repo is inspired/copied from the following excelent dotfiles:
- https://github.com/holman/dotfiles (fork and setup)
- https://github.com/mathiasbynens/dotfiles (macos defaults)
- https://github.com/nicksp/dotfiles (zsh install script)
- https://github.com/cowboy/dotfiles (macos install script)
- https://github.com/paulirish/dotfiles (macos install script)