dotfiles
Gist
Busy? Just run command below;)
curl -L https://nozomiishii.dev/dotfiles/install | bash
with full version of Brewfile
curl -L https://nozomiishii.dev/dotfiles/install | bash -s -- --full
Outline
- ๐ฆ New Macbook? Awesome!!
- ๐จ๐ปโ๐ณ Customize
- ๐จ๐ปโ๐ญ Maintenance & Dev
- ๐ซ Troubleshooting
- ๐ผ Reinstall macOS
- ๐ References
๐ฆ New Macbook? Awesome
Turn On and Follow the guide
- Full Name: Nozomi Ishii
- Account name: nozomiishii
Open Apple ID with Spotlight
โ + space Apple ID
Sign in your iCloud and App Store, when you get to the home screen. (to get apps using mas command)
๐ก Can you not use your personal apple ID on your company computer? Install xcode manually from the App Store.
๐ Apple ID
-
Edit your profile photo
-
โ๏ธ iCloud
- Photos
- iCloud Drive
- Find My Mac
- Stocks
๐ App Store
โ + space App Store
- Login
Install
Wait about 3 hours(Go grab some food and take a nap ๐๐ช)
Open Terminal with Spotlight
โ + space Terminal
curl -L https://nozomiishii.dev/dotfiles/install | bash
-L (--location): Enable redirection.
Install Manually
Install xcode-select
xcode-select --install
xcode-select: this command-line Tools are required for Git and Homebrew
Come to this page
open https://nozomiishii.dev/dotfiles
Clone
cd ~ && git clone https://github.com/nozomiishii/dotfiles.git
Brew Install
~/dotfiles/src/install -b
๐ซ When permission is not set
ls -l ~/dotfiles/src/install
chmod +x ~/dotfiles/src/install
๐ป macOS setup
~/dotfiles/src/install -m
๐ง๐ปโโ๏ธ Configs setup
~/dotfiles/src/install -c
๐ Toolchains setup
~/dotfiles/src/install -t
๐ Restart
sudo reboot
App preferences
โ Karabiner-Elements
- Login
๐ 1Password
- Preferences > Security > Unlock using >
Check "Touch ID" - Preferences > General > Keyboard shortcuts >
Autofill:โฅโงX
- Preferences > Developer > Check "Use the SSH agent"
- Preferences > Developer > Check "Integrate with 1Password CLI"
๐ Chrome
-
Sign in
-
Change Chrome to the Default Browser
-
Log in 1PasswordX
-
(Optional)
-
Extensions
- 1Password
- Shortcut
- Activate the extension:
โงโX
- Activate the extension:
- Shortcut
- Adblock for YouTube
- Fonts Ninja
- DeepL
- Video Speed Controller
- Youtube Transcript Extractor
- Gossip Site Blocker
- GoFullPage
- Amazing Searcher
- GraphQL Network Inspector
- Tweak New Twitter
- I don't care about cookies
- Youtube filter
- Screenshot YouTube
- Speechify Text to Speech Voice Reader
- Shortcut
- Activate the extension:
โQ
- Play/Pause:
โSpace
- Activate the extension:
- Shortcut
- 1Password
โ๏ธ google-drive
- Sign in and Sync
๐ Finder
- Rearrange the order of the sidebar
Finder Sidebar
โฃ ๐Favorites
โ โฃ ๐Google Drive(My Drive)
โ โฃ ๐dotfiles
โ โฃ ๐ $USER
โ โฃ ๐Applications
โ โ ๐Desktop
โ ๐Locations
๐ Raycast
-
needs: Finder setup
-
Sign in
-
Import Settings from "~/dotfiles/src/configs/_raycast/backup"
๐ฟ fig
- Setup
๐ VSCode
- User Icon > Setting sync > Login >
Select "Marge"
โ ๏ธ Do NOT Select "Replace" - โง + โ + P > Open command pallet >
Icons: Activate VSCode Icons - Add MonokaiPro License
๐ผ SSH & Git
-
Run gh auth login
-
When gh and 1password plugin are used together, fig auto complilte is not available.
- Use 1Password to securely authenticate the GitHub CLI
๐ฆ Clone repositories
~/dotfiles/src/install -r
๐คต๐ปโโ๏ธ Keyboard Maestro
- Register Keyboard Maestro... >
Activate the License - Preferences... > Sync Marcos >
Select "~/dotfiles/apps/KeyboardMaestro"
๐งน Hazel
- License... >
Activate the License - Folder > Rule Sync Settings... > Use existing sync file... >
Select "~/dotfiles/apps/Hazel" - Preferences... > General >
Uncheck "Show Hazel in the menu bar" - Preferences... > Trash >
Check "Delete files sitting in the Trash for more than 1 Day"
๐จ ColorSnapper2
- Activate the license
- General
- Hotkeys:
Pick Color: โ + โฅ + C - Clipboard Format > Check "Choose from Colors & Formats after picking"
- Hotkeys:
- Appearance
- Magnification > 15x
- Code Style
- Hex > check "Uppercase"
- CSS Hex > check "Uppercase"
๐ TablePlus
- TablePlus >
Register license
๐ Slack
- Sign in
๐ฎ DeepL
- Sign in
- Set hotkey to
โง + โ + Space
๐ซ BLEUnlock
- Device: Select your device
- Unlock RSSI: -55dBm
- Lock RSSI: -75dBm
- Check 'Pause "Now Playing" while Locked'
- Check 'Use Screensaver to Lock'
- Check 'Launch at Login'
๐ป System Preferences
-
๐ Desktop & Screen Saver
- Desktop
Select your favorite image - Screen Saver
Select "Brooklyn" (might need go Preferences > Security & Privacy > General >
On the bottom side, select "Open Anyway")
- Desktop
-
๐ Language & Region
- Add Japanese
-
๐ Notifications & Focus
-
Notifications
- Calendar, Notion, Slack
Alert style: Alerts
Show in Notification Centre
Play sound for notification - Xcode
Banners
- Calendar, Notion, Slack
-
Focus
- Uncheck "Share Focus Status"
-
-
๐ค Users & Groups
- Current User
Edit Profile photo
- Current User
-
โ๐ป Touch ID
- Registering your left pinky for Touch ID, so you can eat pizza without any hassle.
-
๐ง๐ปโโ๏ธ Accessibility
- Spoken Content
Select and Download "Siri Voice 1(United Kingdom)"
Adjust Speaking Rate
- Spoken Content
-
๐ฎ๐ป Security & Privacy
- FileVault
Click the lock to make changes >
Turn on
- FileVault
-
โจ๏ธ Keyboard
- Candidate window
- Font size: 14
- Uncheck: Full-width numeral characters
- Candidate window
-
๐ฅ Displays
- Arrangement
Change "iPad display on left"
- Arrangement
๐ Calendar
- Add Accounts
- Add Calendar on Widgets
๐ต Blender
- Sign in
- Edit > Preferences > Add-ons > search "ID" to find "System: Blender ID authentication" >
login! - Download Blender Cloud add-on
- Edit > Preferences > Add-ons > install >
install Add-on "blender_cloud-X.XX.addon.zip"
โ ๏ธ DO NOT UNZIP - Edit > Preferences > Input > Keyboard >
Emulate Numpad
๐ธ Android Studio
- Preferences > Editor > General > Font > Size >
Font Size: 14 - Plugins
Monokai Pro Theme
๐ Xcode
- Add Account
- Preferences > Themes >
Monokai Pro - Preferences > Navigation >
Command-click on Code: Jumps to definition
๐ฆ Affinity Designer
- Download App
Activate the license
๐ Cisco Packet Tracer
๐ถ ngrok
ngrok authtoken <your_auth_token>
ngrok http 3000
๐ duet
โฑ Setup Time machine
- Menu bar > Time machine >
Backup
๐จ๐ปโ๐ณ Customize
How to add app to Brewfile
Search the app
brew search <app_name>
Check if it's an app you want to download.
brew info <app_name>
How to find the defaults command
defaults read > before
# change the config
defaults read > after
diff before after
Search app plist
ll ~/Library/Preferences/ | grep <app_name>
# example
ll ~/Library/Preferences/ | grep firefox
NSGlobalDomain plist
open ~/Library/Preferences/.GlobalPreferences.plist
Read app config
defaults read <app_name_plist>
# example
defaults read notion.id
Symbolic link
ln -nfs <New_linking_file> <Existing_linked_files>
# example
ln -nfs "$HOME/Google Drive/Settings/dotfiles/zshrc" "$HOME/.zshrc"
๐จ๐ปโ๐ญ Maintenance & Dev
Maintenance
Clean unused homebrew dependencies up, and upgrade them
brew bundle cleanup --verbose --file "$HOME/dotfiles/Brewfile.macos.rb" --force && brew cleanup && brew upgrade
Dev
yarn install
To use @prettier/ruby
gem install bundler prettier_print syntax_tree syntax_tree-haml syntax_tree-rbs
Check the performance of zsh
for x in {1..10}; do time zsh -i -c exit; done
๐ซ Troubleshooting
-
Audio-related
NVRAM Reset
Shut down and Restart with
โฅ + โ + P + R
๐ก NVRAM is a memory that saves its stored data regardless if the power is on or off -
Third-party app related
Safe mode
Shut down and wait 10 seconds
Restart withโง
๐กSafe Mode temporarily disables any third-party applications and starts your device with default system apps
๐ผ Reinstall macOS
1: Unpair
- System Preferences > Bluetooth >
Unpair Bluetooth devices
2: Clean up
- Delete SSH keys on GitHub, GitLab
3: Sign out your iCloud.
- System Preferences > Apple ID > iCloud >
Turn off "Find My Mac" - System Preferences > Apple ID > Overview >
Sign Out
4: Deactivate license
-
๐ TablePlus
TablePlus > Register license -
๐จ ColorSnapper2
About ColorSnapper... >
Deactivate license -
๐งน Hazel
License... > Remove
5: Erase All Content
- Erase All Content - Japanese | English
- From the Apple menu ๏ฃฟ in the corner of your screen, choose System Preferences
- From the System Preferences menu in the menu bar, choose Erase All Content and Settings
๐ References
Tutorials
- Dotfiles from Start to Finish-ish
- dotfiles + GitHub ใไฝฟใฃใฆ้็บ็ฐๅขใใณใใณใ๏ผ็บใงๆง็ฏใใๆนๆณ
Dotfiles
- Patrick McDonald - EIEIO
- Mathias Bynens
- Your unofficial guide to dotfiles on GitHub.
- JunichiSugiura/dotfiles
CheatSheets
Dotfiles managed with
License
MIT License
ยฉ 2021 Nozomi Ishii