Setup script for Mac after format
The setup script for my Mac after a format.
The following are a checklist of tasks to be completed after every format:
- Install homebrew with
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)",then run these two commands to add Homebrew to the PATH(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/jseanpatel/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)"
- Navigate to the home directory with
cd ~ - Install yadm with
brew install yadm - Clone the dot files repository
yadm clone https://github.com/jseanpatel/dotfiles - Navigate to the repository and run
sh bootstrap.sh
Pick one of the following configurations
- Add material design theme with iTerm2 > Preferences > Profiles > Colors Tab > Color Presets > Import
- Select the file
material-design-colors.itermcolors - Select the material-design-colors from Load Presets...
- Complete configuration wizard for powerlevel10k
- Login to GitHub on VSCode, and sync extensions
- Set Raycast as default launcher
-
Open and configure Lulu
-
Follow security steps listed here
-
Additional iCloud setup
- Make Documents and Desktop folder read from iCloud with System Settings > Apple ID > iCloud > Check Desktop & Documents Folders > Done
- Go to iMessages and enable messages in iCloud
-
Log in to every application downloaded with
brew cask. Then go and install these applications manually: -
Generate GitHub personal access token for commiting/pushing (update yadm if relevant)
-
Remove all apps from dock except VSCode, iMessage and Warp, then adjust dock size
-
Set Pixelsnap hotkey to
⌘ + Shift + X -
Open Obsidian, and disable from backing up to iCloud Drive (for local folder, choose a non-synced directory)
-
Load up a game of Seterra and enjoy your new computer
MIT License
Copyright (c) 2024 Jacob Patel
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.