This repository contains all my configs and simple scripts to setup a new Mac.
I try to keep $HOME as clean as possible by using XDG Base Directory Specification.
Make sure you have Xcode installed first.
Clone the repo where you want, I usually do the following:
$ mkdir -p ~/dev/leka
$ cd ~/dev/leka
$ git clone https://github.com/leka/dotfiles
$ cd dotfilesor run the following:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/leka/dotfiles/master/install.sh)"Then run the bootstrap process:
$ zsh bootstrap.sh [arguments]Available arguments are:
--all- run all scripts--force- used with--allskip the "Are you sure you want to continue" question--ci- for CI--verboseor-v- printstderrmessage of failed commands-vv- printstdout&stderrmessages
The rest is detailed here:
--hello --brew --apps-install --apps-config --zsh --git --symlink --nvim --dev --data --macos
I've removed some of the heavy casks from the script as they were taking way too much time...
To instatll them, run the following:
brew cask install mactex-no-guiApps must be launched first before synchronizing the settings. The script takes care of that but sometimes it might take a little longer or you might need to accept a dialog box.
For VSCode, use Settings Sync.