Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crispgm/dotfiles
dotfiles to provision a new macOS with cosy dev setups
https://github.com/crispgm/dotfiles
brewfile dotfiles mac-bootstrap mac-dotfiles mac-setup neovim-dotfiles rcm shell sync
Last synced: 4 days ago
JSON representation
dotfiles to provision a new macOS with cosy dev setups
- Host: GitHub
- URL: https://github.com/crispgm/dotfiles
- Owner: crispgm
- Created: 2014-04-19T08:52:45.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T09:35:40.000Z (10 days ago)
- Last Synced: 2024-10-25T07:18:14.290Z (10 days ago)
- Topics: brewfile, dotfiles, mac-bootstrap, mac-dotfiles, mac-setup, neovim-dotfiles, rcm, shell, sync
- Language: Lua
- Homepage:
- Size: 4.19 MB
- Stars: 101
- Watchers: 5
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
## 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](screenshots).Inspired by [KrauseFx/new-mac](https://github.com/KrauseFx/new-mac).
For Arch Linux, please refer to [crispgm/arch-linux-dotfiles](https://github.com/crispgm/arch-linux-dotfiles).
## Bootstrap
```shell
$ xcode-select --install # or download here
$ 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](https://github.com/thoughtbot/rcm).
- `app`: customized boostrapping scripts for applications.## Dev Setups
### Terminal & Shell
- [x] Install [Homebrew](https://brew.sh)
- [x] Setup Hostname `sudo scutil --set HostName david-macbook`
- [x] Install softwares and fonts from [Brewfile](https://github.com/crispgm/dotfiles/blob/master/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";}'`## Optional Setups
### bash
- [x] Setup shell login promtp with `motd`: ASCII art is generated with
- [x] Setup `.bash_profile` `.bashrc`