Skip to content

mrtnbroder/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.files

These are my macOS dotfiles. Feel free to use it, but at your own risk.

Highlights

  • Easy install via Makefile
  • Mostly based around Homebrew + Casks, Node.js, latest Fish + GNU Utils
  • Starship Prompt
  • macOS defaults
  • Well-organized and easy to customize
  • Supports both Apple Silicon and Intel chips
  • dot bin for common dotfile tasks

Prerequisites

On a sparkling fresh macOS system:

  1. Login into Apple Account (System Settings -> Apple ID) (Required for the mas utility).
  2. Update to the latest macOS and install the Xcode Command Line Tools.
softwareupdate -i -a
xcode-select --install
  1. (Optional) on Apple Silicon chips:
softwareupdate --install-rosetta --agree-to-license
  1. The Xcode Command Line Tools add git and make. Now you can run:
git clone https://github.com/mrtnbroder/dotfiles.git ~/.dotfiles && cd ~/.dotfiles && make

This will do the following:

  • Install Homebrew packages (Brewfile)
  • Install Homebrew casks (Caskfile)
  • Install Node LTS via fnm (npmfile)
  • Python via pyenv
  • Ruby via rbenv
  • Latest tools like Git, Fish, GNU coreutils, curl, wget etc.
  • $EDITOR is nvim ($VISUAL is code and Git core.editor is code --wait)

The dotfiles command

$ dotfiles help
Usage: dotfiles <command>

Commands:
   clean            Clean up caches (brew, gem, pip)
   edit             Open dotfiles in IDE (code) and Git GUI (stree)
   help             This help message
   macos            Apply macOS system defaults
   update           Update packages and pkg managers (brew, casks, pip3, npm, gems, macOS)