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$PATH
and 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.sh
is executed when you runscript/install
. To avoid being loaded automatically, its extension is.sh
, not.zsh
. - topic/*.symlink: Any file ending in
*.symlink
gets 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/bootstrap
Steps:
- 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)