Skip to content

nozomiishii/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3,620 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

English | 日本語


Brow my mind
via GIPHY


Gist

Busy? Just run command below;)

curl -fsSL https://dotfiles.nozo.sh | bash

Development

Open in GitHub Codespaces

Outline

📦 New Macbook? Awesome

Turn On and Follow the guide

  • Full Name: Nozomi Ishii
  • Account name: nozomiishii

⚠️ Skip the AppleID sign in until the home screen. it takes time. ⚠️

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 -fsSL https://dotfiles.nozo.sh | bash

-fsSL: -L follows the dotfiles.nozo.sh redirect, -f aborts on HTTP errors (so a broken response is never piped to bash), -sS hide progress but still show errors.

After installation

  1. Reboot
    Run sudo reboot to apply the settings.

  2. Retry Homebrew if needed Re-run the unified Homebrew installer if a package download was interrupted:

    make homebrew
  3. (Optional) Always-on power settings
    To disable sleep and use Wake on LAN etc. (always_on.sh):

    make always-on
  4. Clone private repositories after reboot
    After authenticating with GitHub, clone your private repos:

    gh auth login
    make repo

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

git clone https://github.com/nozomiishii/dotfiles.git ~/Code/nozomiishii/dotfiles

Install

./install.sh

🛋 Restart

sudo reboot

Then follow the After installation steps above.

App preferences

🔑 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

☁️ google-drive

  • Sign in and Sync

🗂 Finder

  • Rearrange the order of the sidebar
Finder Sidebar
 ┣ 📂Favorites
 ┃ ┣ 🌏Google Drive(My Drive)
 ┃ ┣ 🏠$USER
 ┃ ┣ 🧙🏿‍♂️dotfiles
 ┃ ┣ 🍎Applications
 ┃ ┗ 📖Desktop
 ┗ 📂Locations

🚁 Raycast

  • needs: Finder setup

  • Sign in

🐟 VSCode

  • User Icon > Setting sync > Login >
    Select "Marge"
    ⚠️ Do NOT Select "Replace"
  • ⇧ + ⌘ + P > Open command pallet >
    Icons: Activate VSCode Icons
  • Add MonokaiPro License

🤖 Codex

~/.codex/config.toml is not tracked by dotfiles. Codex auto-writes machine-local state into it (project trust_level with absolute paths, model, and more) that doesn't belong in version control. Set the TUI preference by hand:

# ~/.codex/config.toml
[tui]
alternate_screen = "always"

😼 SSH & Git

🦄 Clone repositories

make repo

🐘 TablePlus

  • TablePlus >
    Register license

🐔 Slack

  • Sign in

🫐 BLEUnlock

  • Device: Select your device
  • Unlock RSSI: -60dBm
  • 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")
  • 🌐 Language & Region

    • Add Japanese
  • 🛎 Notifications & Focus

    • Notifications

      • Calendar, Notion, Slack
        Alert style: Alerts
        Show in Notification Centre
        Play sound for notification
      • Xcode
        Banners
    • Focus

      • Uncheck "Share Focus Status"
  • 👤 Users & Groups

    • Current User
      Edit Profile photo
  • 🧚🏻‍♀️ Accessibility

    • Spoken Content
      Select and Download "Siri Voice 1(United Kingdom)"
      Adjust Speaking Rate
  • 👮🏻 Security & Privacy

    • FileVault
      Click the lock to make changes >
      Turn on
  • ⌨️ Keyboard

    • Candidate window
      • Font size: 14
      • Uncheck: Full-width numeral characters
  • 🖥 Displays

    • Arrangement
      Change "iPad display on left"

📅 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

⏱ 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"

🍴 Forking

This repo is tuned for nozomiishii's personal setup, so the GitHub username, email, fixed paths, personal Homebrew tap, and scoped npm packages are hard-coded throughout.

If you fork it, see docs/forking.md for the list of places to update.

👨🏻‍🏭 Maintenance & Dev

Maintenance

Clean unused homebrew dependencies up, and upgrade them

make homebrew

Dev

pnpm 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

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

CheatSheets

Dotfiles managed with

License

MIT License

© 2021 Nozomi Ishii

About

🧙🏿‍♂️ Doting Dotfiles

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

 
 
 

Contributors