Dotfiles to configure and maintain my Mac and to survive a laptop fire.
Before reinstalling
- Back up your important documents, either on cloud or on a hard drive.
- Commit and push any changes to your git repositories.
- Update mackup (
brew upgrade mackup
if you use homebrew) and runmackup backup
.
Installing macOS
- Follow the steps in this article
Setting up
- Update the macOS to the latest version.
- Install macOS command line tools (
xcode-select --install
). - Generate a new SSH key and add to Github.
- Clone this repo to
~/.dotfiles
(git clone [email protected]:verasls/dotfiles ~/.dotfiles
). - Install Oh My Zsh.
- Run
install.sh
script. - After mackup is synced with your cloud storage, restore preferences (
mackup restore
). - Restart your computer.
All the apps I use are installed through the Brewfile
.
My preferred shell is the zsh and I used it with the Oh My Zsh framework and the iTerm2. I also use the tmux terminal multiplexer. The zsh configuration is on the .zshrc
file and the tmux on the .tmux.conf
.
I mostly code in R and Python, so these dotfiles are set to install my most used R packages (packages.R
) and Python modules (python.sh
).
Finally is the init.vim
file with my neovim configuration. I set it up to support R coding with the Nvim-R plugin, mostly following the instructions on this article.
I started this project by reading the Dries Vints blog post and by looking at his dotfiles repo. Also, Github does dotfiles provided great resources. I would like to further thank Mathias Bynens for his aewsome .macos
file.