Skip to content
/ dotfiles Public

Scripts for setting up my Mac

License

Notifications You must be signed in to change notification settings

Nef10/dotfiles

Repository files navigation

Dotfiles

This repository contains scripts to bootstrap my Mac.

It does:

  • configure MacOS settings, as well as settings of system software
  • install software via brew, including applications via cask and mas
  • configure my dotfiles for various tools (git, ssh, zsh)
  • configure VSCode, and install extensions

This work was inspried by https://github.com/sam-hosseini/dotfiles and https://github.com/mathiasbynens/dotfiles. The terminal theme is based on https://github.com/nathanbuchar/atom-one-dark-terminal. It is intended for Macs running on Catalina or newer with zsh as shell.

Use

Requirements

Before installing please make sure the following conditions are fullfilled:

  • You are signed in to the Mac App Store

Install

To install use the following line at own risk: (Please don't actually do this - it is not good practice to just execute random code from the internet - and it uses my settings which you probably want to adjust beforehand - at least the git user)

curl --silent https://raw.githubusercontent.com/Nef10/dotfiles/main/setup-mac-os.sh > setup-mac-os.sh && zsh setup-mac-os.sh && rm setup-mac-os.sh

Tracking changes and updates

To update your machine with the latest improvements done, execute:

update_dotfiles

It will check for new commits in the repo, pull them and execute the bootstrap again. This will override any changes you made to certain settings. To reset your changes even though no new commits are present, run with the --force flag. To check which changes you made, which might be overridden, execute:

diff_dotfiles_setup

Other

Additionally, this repository contains some additional documents in the docs folder, like which things not to forget when backing up your Mac.

About

Scripts for setting up my Mac

Topics

Resources

License

Stars

Watchers

Forks

Languages