~/.dotfiles
Get this repository
git clone https://github.com/loliee/dotfiles ~/.dotfiles
Or without git (useful for the first install)
mkdir -p ~/.dotfiles
curl -L https://github.com/loliee/dotfiles/tarball/master \
| tar -xzv -C ~/.dotfiles --strip-components 1 --exclude={README.md}
Install
Install brew, a lot of awesome packages
# Install dotfiles and packages
make install
# Install only dotfiles
make install-dotfiles
# Or limit packages with the `RUN_LIST`
# Possible values are `base,dev,messaging,multimedia,privacy`
RUN_LIST='messaging,multimedia,privacy' \
make install
# Need help ?
make help
MacOS
Setup sensible macOS defaults with:
make setup-macos
make setup-macos-hardening
Zsh
Define zsh as your default shell (example bellow is macOS specific):
echo "$(brew --prefix)/bin/zsh" | sudo tee -a /etc/shells
chsh -s "$(brew --prefix)/bin/zsh"
Test
Run linters & specs:
make install-dev
make test