SkillAgentSearch skills...

Dotfiles

dotfiles to provision a new macOS with cosy dev setups

Install / Use

/learn @crispgm/Dotfiles
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

dotfiles

<p align="center"> <img src="screenshots/v2-nvim-and-tmux.png" width="600" /> </p> <p align="center"> <img src="https://github.com/crispgm/dotfiles/workflows/build/badge.svg" alt="GitHub CI" /> <img src="https://img.shields.io/badge/platform-macOS-lightgray.svg" alt="platform" /> </p>

Introduction

This is a dotfiles project which may be used to provision a new macOS with cosy dev setups. And it is tested with GitHub Actions CI. The checkbox denotes whether it is done by bootstrap. More screenshots here.

Inspired by KrauseFx/new-mac.

For Arch Linux, please refer to crispgm/arch-linux-dotfiles.

Bootstrap

$ xcode-select --install # or download here <https://developer.apple.com/download/more/>
$ git clone --recursive https://github.com/crispgm/dotfiles.git
# Login to AppStore with Apple ID, since there are MAS apps in Brewfile
$ cd dotfiles
$ ./bootstrap

Project Layout

  • bootstrap: entry point of dotfiles bootstrapping.
  • Brewfile: all Homebrew formulae and casks managed by Homebrew Bundle.
  • rc: dotfiles managed by rcm.
  • app: customized boostrapping scripts for applications.

Dev Setups

Terminal & Shell

  • [x] Install Homebrew
  • [x] Setup Hostname sudo scutil --set HostName david-macbook
  • [x] Install softwares and fonts from Brewfile with brew bundle. HINT: Login to AppStore at first. Some of the applications from Mac App Store may need purchase.
  • [x] Install zsh, oh-my-zsh and setup .zshrc
  • [x] Setup Alacritty
  • [x] Setup tmux
  • [x] Setup Neovim

Git

  • [x] Git global config
  • [x] Git work config

Ruby

  • [x] Setup .gemrc
  • [x] Setup bundler's mirror: bundle config mirror.https://rubygems.org https://gems.ruby-china.com if you locate in China mainland

VSCode

  • [x] Create code SymLink: sudo ln -s /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code ~/Applications/code
  • [x] Install Setting Sync extensions and then sync settings

File Sync

  • [x] Install your favorite file sync service (e.g. Dropbox, Google Drive, One Drive ... I prefer Dropbox because it works with Alfred)
  • [ ] Setup syncing folder for apps (e.g. Alfred, Dash ...)

Karabiner

  • [x] Setup karabiner.json

macOS Setups

Trackpad

  • [ ] Tap to click
  • [ ] Seconary click: Click in bottom right corner

Control Center

Battery

  • [ ] Show Battery in Control Center
  • [ ] Show percentage

Time

  • [ ] Set time zone automatically using current location
  • [ ] Use a 24-hour clock and show date

Siri

  • [ ] Disable Siri system wide and remove Siri button from Touch Bar

Finder

  • [ ] New Finder show Desktop
  • [ ] Remove labels and clean up Sidebar

Dock

  • [ ] Change to the size you like
  • [ ] Cancel: Show recent application in Dock
  • [ ] Downloads: View content as Grid
  • [ ] Add blank seperator: defaults write com.apple.dock persistent-apps -array-add '{tile-type="spacer-tile";}'

Mission Control

  • [ ] Disable automatically rearrange Spaces based on most recent use

Keyboard

  • [ ] Input Sources -> Automatically switch to a document's input source
  • [ ] Add more input sources that you like

Keyboard Shortcuts

  • [ ] Show Launchpad: F4
  • [ ] Select the previous input source: Option + Space
  • [ ] Copy picture of selected area to clipboard: Command + Shift + a

Optional Setups

bash

View on GitHub
GitHub Stars105
CategoryDevelopment
Updated1mo ago
Forks13

Languages

Lua

Security Score

85/100

Audited on Feb 17, 2026

No findings