My personal dotfiles for macOS and fish, based on the amazing https://github.com/webpro/dotfiles
On a sparkling fresh installation of macOS:
sudo softwareupdate -i -a
xcode-select --install
The Xcode Command Line Tools includes git
and make
(not available on stock macOS). Now there are two options:
- Install this repo with
curl
available:
bash -c "`curl -fsSL https://raw.githubusercontent.com/richo225/dotfiles/master/remote-install.sh`"
This will clone or download, this repo to ~/.dotfiles
depending on the availability of git
, curl
or wget
.
- Alternatively, clone manually into the desired location:
git clone https://github.com/richo225/dotfiles.git ~/.dotfiles
Use the Makefile to install everything listed above, and symlink runcom and config (using stow):
cd ~/.dotfiles
make
dot dock
(set Dock items)dot macos
(set macOS defaults)- Mackup
- Log in to Dropbox (and wait until synced)
ln -s ~/.config/mackup/.mackup.cfg ~
(until #632 is fixed)mackup restore
$ dot help
Usage: dot <command>
Commands:
clean Clean up caches (brew, npm, gem, rvm)
dock Apply macOS Dock settings
edit Open dotfiles in IDE (code) and Git GUI (stree)
help This help message
macos Apply macOS system defaults
test Run tests
update Update packages and pkg managers (OS, brew, npm, gem)