Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nozomiishii/dotfiles
๐ง๐ฟโโ๏ธ Doting Dotfiles
https://github.com/nozomiishii/dotfiles
dotfiles macos
Last synced: 25 days ago
JSON representation
๐ง๐ฟโโ๏ธ Doting Dotfiles
- Host: GitHub
- URL: https://github.com/nozomiishii/dotfiles
- Owner: nozomiishii
- License: mit
- Created: 2021-02-11T08:05:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T16:05:41.000Z (7 months ago)
- Last Synced: 2024-04-14T04:10:23.481Z (7 months ago)
- Topics: dotfiles, macos
- Language: Shell
- Homepage: https://nozomiishii.dev/dotfiles/install
- Size: 377 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# dotfiles
via GIPHY
## Gist
Busy? Just run command below;)
```shell
curl -L https://nozomiishii.dev/dotfiles/install | bash
```with full version of Brewfile
```shell
curl -L https://nozomiishii.dev/dotfiles/install | bash -s -- --full
```## Outline
- [๐ฆ New Macbook? Awesome!!](#new-macbook?)
- [Install](#install)
- [Install Manually](#install-manually)
- [App preferences](#app-preferences)
- [๐จ๐ปโ๐ณ Customize](#customize)
- [๐จ๐ปโ๐ญ Maintenance & Dev](#maintenance&dev)
- [๐ซ Troubleshooting](#troubleshooting)
- [๐ผ Reinstall macOS](#reinstall-macos)
- [๐ References](#references)## ๐ฆ 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
```txt
โ + 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
```txt
โ + space App Store
```- Login
## Install
Wait about 3 hours(Go grab some food and take a nap ๐๐ช)
### Open Terminal with Spotlight
```txt
โ + space Terminal
``````shell
curl -L https://nozomiishii.dev/dotfiles/install | bash
```-L (--location): Enable redirection.
Install Manually
### Install xcode-select
```shell
xcode-select --install
```xcode-select: this command-line Tools are required for Git and Homebrew
### Come to this page
```shell
open https://nozomiishii.dev/dotfiles
```### Clone
```shell
cd ~ && git clone https://github.com/nozomiishii/dotfiles.git
```### Install
```shell
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b "$HOME/.local/bin" init --apply nozomiishii --verbose
```### ๐ Restart
```shell
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"
- [Turn on the 1Password desktop app integration](https://developer.1password.com/docs/cli/get-started/#step-2-turn-on-the-1password-desktop-app-integration)### ๐ Chrome
- Sign in
- Change Chrome to the Default Browser
- Log in 1PasswordX
- (Optional)- [Gmail notification](https://support.google.com/mail/answer/1075549?hl=ja&co=GENIE.Platform%3DDesktop)
- [Show working hours on your calendar](https://support.google.com/a/users/answer/9308669)
- [Send email to Slack](https://slack.com/help/articles/206819278-Send-emails-to-Slack#:~:text=address%20to%20confirm.-,Use%20an%20email%20add%2Don,-Gmail)- Extensions
- [1Password](https://chrome.google.com/webstore/detail/1password-%E2%80%93-password-mana/aeblfdkhhhdcdjpifhhbdiojplfjncoa)
- Shortcut
- Activate the extension: `โงโX`
- [Adblock for YouTube](https://chrome.google.com/webstore/detail/adblock-for-youtube/cmedhionkhpnakcndndgjdbohmhepckk)
- [Responsive Viewer](https://chromewebstore.google.com/detail/responsive-viewer/inmopeiepgfljkpkidclfgbgbmfcennb)
- [Fonts Ninja](https://chrome.google.com/webstore/detail/fonts-ninja/eljapbgkmlngdpckoiiibecpemleclhh)
- [DeepL](https://chrome.google.com/webstore/detail/deepl-translate-beta-vers/cofdbpoegempjloogbagkncekinflcnj)
- [Video Speed Controller](https://chrome.google.com/webstore/detail/video-speed-controller/nffaoalbilbmmfgbnbgppjihopabppdk)
- [Youtube Transcript Extractor](https://chrome.google.com/webstore/detail/youtube-transcript-extrac/lclpibfglbkghjkdmpjkgehcnadcffdl)
- [Gossip Site Blocker](https://chrome.google.com/webstore/detail/gossip-site-blocker/mjojhcmecfehllhcjcbhkkpohadogplk)
- [GoFullPage](https://chrome.google.com/webstore/detail/gofullpage-full-page-scre/fdpohaocaechififmbbbbbknoalclacl)
- [Amazing Searcher](https://chrome.google.com/webstore/detail/amazing-searcher/poheekmlppakdboaalpmhfpbmnefeokj)
- [GraphQL Network Inspector](https://chrome.google.com/webstore/detail/graphql-network-inspector/ndlbedplllcgconngcnfmkadhokfaaln)
- [Tweak New Twitter](https://chrome.google.com/webstore/detail/tweak-new-twitter/kpmjjdhbcfebfjgdnpjagcndoelnidfj)
- [I don't care about cookies](https://chrome.google.com/webstore/detail/i-dont-care-about-cookies/fihnjjcciajhdojfnbdddfaoknhalnja)
- [Youtube filter](https://chrome.google.com/webstore/detail/youtube%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF/dfbfdjepofdfhdddfdggabjjndhiggji)
- [Screenshot YouTube](https://chrome.google.com/webstore/detail/screenshot-youtube/gjoijpfmdhbjkkgnmahganhoinjjpohk)
- [Speechify Text to Speech Voice Reader](https://chrome.google.com/webstore/detail/speechify-text-to-speech/ljflmlehinmoeknoonhibbjpldiijjmm)
- Shortcut
- Activate the extension: `โQ`
- Play/Pause: `โSpace`### โ๏ธ google-drive
- Sign in and Sync
### ๐ Finder
- Rearrange the order of the sidebar
```txt
Finder Sidebar
โฃ ๐Favorites
โ โฃ ๐Google Drive(My Drive)
โ โฃ ๐ $USER
โ โฃ ๐Applications
โ โ ๐Desktop
โ ๐Locations
```### ๐ Raycast
- needs: Finder setup
- Sign in
- Import Settings from "~/dotfiles/src/configs/\_raycast/backup"### ๐ 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](https://cli.github.com/manual/)
### ๐ฆ Clone repositories
```shell
make repo
```### ๐คต๐ปโโ๏ธ 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"
- 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: -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- **โ๐ป 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- **๐ฎ๐ป 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](https://cloud.blender.org/r/downloads/blender_cloud-latest-addon.zip)
- 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](https://store.serif.com/en-gb/account/downloads/)
Activate the license### ๐ Cisco Packet Tracer
- [Download](https://www.netacad.com/portal/resources/packet-tracer)
### ๐ถ ngrok
- [Get Auth token](https://dashboard.ngrok.com/get-started/your-authtoken)
```shell
ngrok authtoken
``````shell
ngrok http 3000
```### ๐ duet
- [Download](https://www.duetdisplay.com/)
### โฑ Setup Time machine
- Menu bar > Time machine >
Backup## ๐จ๐ปโ๐ณ Customize
### How to add app to Brewfile
Search the app
```shell
brew search
```Check if it's an app you want to download.
```shell
brew info
```### How to find the defaults command
```shell
defaults read > before
# change the config
defaults read > after
diff before after
```### Search app plist
```shell
ll ~/Library/Preferences/ | grep
# example
ll ~/Library/Preferences/ | grep firefox
```### NSGlobalDomain plist
```shell
open ~/Library/Preferences/.GlobalPreferences.plist
```### Read app config
```shell
defaults read
# example
defaults read notion.id
```### Symbolic link
```shell
ln -nfs
# example
ln -nfs "$HOME/Google Drive/Settings/dotfiles/zshrc" "$HOME/.zshrc"
```## ๐จ๐ปโ๐ญ Maintenance & Dev
### Maintenance
Clean unused homebrew dependencies up, and upgrade them
```shell
brew bundle cleanup --verbose --file "$HOME/dotfiles/Brewfile.macos.rb" --force && brew cleanup && brew upgrade
```### Dev
```shell
yarn install
```To use @prettier/ruby
```shell
gem install bundler prettier_print syntax_tree syntax_tree-haml syntax_tree-rbs
```## Check the performance of zsh
```shell
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 devices2: 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 Out4: Deactivate license
- **๐ TablePlus**
TablePlus > Register license- **๐จ ColorSnapper2**
About ColorSnapper... >
Deactivate license- **๐งน Hazel**
License... > Remove5: Erase All Content
- Erase All Content - [Japanese](https://support.apple.com/ja-jp/HT201065) | [English](https://support.apple.com/en-gb/HT201065)
- 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](https://www.udemy.com/course/dotfiles-from-start-to-finish-ish)
- [dotfiles + GitHub ใไฝฟใฃใฆ้็บ็ฐๅขใใณใใณใ๏ผ็บใงๆง็ฏใใๆนๆณ](https://www.youtube.com/watch?v=QZr33TQnIRk&t=9s)### Dotfiles
- [Patrick McDonald - EIEIO](https://github.com/eieioxyz/dotfiles_macos)
- [Mathias Bynens](https://github.com/mathiasbynens/dotfiles)
- [Your unofficial guide to dotfiles on GitHub.](https://dotfiles.github.io/inspiration)
- [JunichiSugiura/dotfiles](https://github.com/JunichiSugiura/dotfiles)### CheatSheets
- [macOS defaults list](https://macos-defaults.com)
- [Homebrew | Basics Commands and Cheat sheet](https://dev.to/code2bits/homebrew---basics--cheatsheet-3a3n)### Dotfiles managed with
- [Homebrew Bundle](https://github.com/Homebrew/homebrew-bundle)
## License
MIT License
ยฉ 2021 Nozomi Ishii