These are my dotfiles. Take anything you want, but at your own risk.
It targets MacOS systems, but since it has some defensive checks it should work on *nix as well (tested on a few Linux boxes).
- Core
- Dev (FE/JS/JSON): http-server, jq, nodemon, peco, underscore-cli
- Graphics: ffmpeg, gifsicle, imagemagick, svgo
- MacOS: dockutil, Hammerspoon, Mackup, Quick Look plugins
- MacOS apps
On a sparkling fresh installation of MacOS:
sudo softwareupdate -i -a
xcode-select --install
Install the dotfiles with either Git or curl:
git clone https://github.com/patricktruebe/dotfiles.git ~/.dotfiles
git clone https://github.com/patricktruebe/extra.git ~/.extra # Optional, see below
source ~/.dotfiles/install.sh
Alternatively, you can install this into ~/.dotfiles
remotely without Git using curl:
sh -c "`curl -fsSL https://raw.github.com/patricktruebe/dotfiles/master/remote-install.sh`"
Or, using wget:
sh -c "`wget -O - --no-check-certificate https://raw.githubusercontent.com/patricktruebe/dotfiles/master/remote-install.sh`"
$ dotfiles help
Usage: dotfiles <command>
Commands:
help This help message
edit Open dotfiles in editor ($EDITOR_ALT) and Git GUI ($GIT_GUI)
reload Reload dotfiles
test Run tests
update Update packages and pkg managers (OS, brew, npm, gem, pip)
clean Clean up caches (brew, npm, gem, rvm)
macos MacOS system defaults
dock Apply MacOS Dock settings
install vundle Install Vundle
You can put your custom settings, such as Git credentials in the system/.custom
file which will be sourced from .bash_profile
automatically. This file is in .gitignore
.
Alternatively, you can have an additional, personal dotfiles repo at ~/.extra
.
- The runcom
.bash_profile
sources all~/.extra/runcom/*.sh
files. - The installer (
install.sh
) will run~/.extra/install.sh
.
Many thanks to the dotfiles community and the creators of the incredibly useful tools.