https://github.com/ihor-oleks/dotfiles
Setting up macOS
https://github.com/ihor-oleks/dotfiles
defaults dotfiles fish ghostty git hammerspoon macos vim
Last synced: 4 months ago
JSON representation
Setting up macOS
- Host: GitHub
- URL: https://github.com/ihor-oleks/dotfiles
- Owner: ihor-oleks
- License: mit
- Created: 2026-01-01T15:49:59.000Z (6 months ago)
- Default Branch: macos
- Last Pushed: 2026-02-15T17:47:13.000Z (4 months ago)
- Last Synced: 2026-02-15T18:52:39.640Z (4 months ago)
- Topics: defaults, dotfiles, fish, ghostty, git, hammerspoon, macos, vim
- Language: Shell
- Homepage:
- Size: 145 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Setting up [macOS](https://www.apple.com/os/macos/)
```sh
chmod +x ./settings.sh && ./settings.sh
chmod +x ./shortcuts.sh && ./shortcuts.sh
```
- Go to `System Settings`
- Go to `Apple Account`
- Go to `iCloud`
- Set `Saved to iCloud` to `Off`
- Go to `Battery`
- Go to `Energy Mode`
- Set `On battery` to `Low Power`
- Set `On power adapter` to `High Power`
- Go to `Options`
- Set `Wake for network access` to `Never`
- Go to `General`
- Go to `AutoFill & Passwords`
- Disable `AutoFill Passwords and Passkeys`
- Go to `Apple Intelligence & Siri`
- Disable `Apple Intelligence`
- Disable `Siri`
- Go to `About Siri, Dictation & Privacy`
- Disable `Show Siri Suggestions in application`
- Disable `Learn from this application`
- Go to `Control Center`
- Set `Spotlight` to `Don't Show in Menu Bar`
- Set `Siri` to `Don't Show in Menu Bar`
- Go to `Lock Screen`
- Set `Turn display off on battery when inactive` to `For 5 minutes`
- Set `Turn display off on power adapter when inactive` to `For 5 minutes`
- Set `Require password after display is turned off` to `Immediately`
- Go to `Privacy & Security`
- Set `Location Services` to `Off`
- Disable all items in `Analytics & Improvements`
- Set `Apple Intelligence Report` to `Off`
- Set `FileVault` to `On`
## 01 [Terminal](https://brew.sh/)
```sh
brew install --cask ghostty
ln -s ~/.dotfiles/terminal/ghostty ~/.config/ghostty
```
```sh
brew install btop eza git mas mise nomino ripgrep telnet vifm
ln -s ~/.dotfiles/terminal/.gitconfig ~/.gitconfig
touch ~/.gitignore
touch ~/.gitinclude
touch ~/.hushlogin
ln -s ~/.dotfiles/terminal/vim ~/.config/vim
ln -s ~/.dotfiles/terminal/vifm ~/.config/vifm
```
```sh
mkdir ~/.config/fish
ln -s ~/.dotfiles/terminal/fish/conf.d ~/.config/fish/conf.d
ln -s ~/.dotfiles/terminal/fish/functions ~/.config/fish/functions
ln -s ~/.dotfiles/terminal/fish/config.fish ~/.config/fish/config.fish
chsh -s /usr/local/bin/fish
fish_update_completions
```
## 02 [Finder](#finder)
```sh
find ~ -name ".DS_Store" -delete
```
- Go to `Finder Settings`
- Go to `General`
- Disable all items from showing on the desktop
- Set `New Finder windows show` to `Home`
- Enable `Open folders in tabs instead of new windows`
- Go to `Sidebar`
- Hide `Shared`
- Show `Pictures`
- Hide `iCloud Drive`
- Hide `CDs, DVDs and iOS Devices`
- Hide `AirDrop`
- Hide `Bonjour computers`
- Go to `View Options`
- Enable `Always open in list view`
- Hide the `Kind` column
- Disable `Use relative dates`
- Use as Defaults
## 03 [Chrome](https://www.google.com/chrome/)
```sh
brew install --cask google-chrome
```
- Install extensions
- Google Translate
- Grammarly
- `https://*.grammarly.com/*`
- `https://translate.google.com/*`
- `https://www.deepl.com/*`
- Refined GitHub
- uBlock Origin
## 04 [LinearMouse](https://linearmouse.app/)
```sh
brew install --cask linearmouse
mkdir -p ~/.config/linearmouse
ln -s ~/.dotfiles/linearmouse/linearmouse.json ~/.config/linearmouse/linearmouse.json
```
## 05 [Hammerspoon](https://www.hammerspoon.org/)
```sh
brew install --cask hammerspoon
ln -s ~/.dotfiles/hammerspoon ~/.hammerspoon
```
## 06 [AltTab](https://alt-tab-macos.netlify.app/)
```sh
brew install --cask alt-tab
```
## 07 [Ice](https://icemenubar.app/)
```sh
brew install --cask jordanbaird-ice
```
## 08 [Visual Studio Code](https://code.visualstudio.com/)
```sh
brew install --cask visual-studio-code
```
## 09 [Sublime Merge](https://www.sublimemerge.com/)
```sh
brew install --cask sublime-merge
sudo ln -s /Applications/Sublime\ Merge.app/Contents/SharedSupport/bin/smerge /usr/local/bin/merge
quit "Sublime Merge"
touch ~/Library/Application\ Support/Sublime\ Merge/.Disable\ Safe\ Mode\ Shortcut
trash ~/Library/Application\ Support/Sublime\ Merge/Packages
mkdir -p ~/Library/Application\ Support/Sublime\ Merge/Packages/Default
cp ~/.dotfiles/merge/.Default\ \(OSX\).sublime-keymap ~/Library/Application\ Support/Sublime\ Merge/Packages/Default/Default\ \(OSX\).sublime-keymap
ln -s ~/.dotfiles/merge ~/Library/Application\ Support/Sublime\ Merge/Packages/User
```
## 10 [Tomito](https://tomito.app/)
```sh
mas install 1526042938
```
## 11 [Toggl](https://toggl.com/)
```sh
mas install 1291898086
```
## 12 [Todoist](https://www.todoist.com/)
```sh
mas install 585829637
```
## 13 [Pixea](https://www.imagetasks.com/pixea/)
```sh
mas install 1507782672
```
## 14 [VLC](https://www.videolan.org/)
```sh
brew install --cask vlc
```
## 15 [Firefox](https://www.firefox.com/)
```sh
brew install --cask firefox
cp ~/.dotfiles/firefox/org.mozilla.firefox.disable.safe.mode.xml ~/Library/LaunchAgents/org.mozilla.firefox.disable.safe.mode.plist
launchctl load -w ~/Library/LaunchAgents/org.mozilla.firefox.disable.safe.mode.plist
```
## 16 [Telegram](https://telegram.org/)
```sh
brew install --cask telegram-desktop
```
## 17 [Teams](https://www.microsoft.com/en-gb/microsoft-teams/)
```sh
brew install --cask microsoft-teams
```
## 18 [Slack](https://slack.com/)
```sh
brew install --cask slack
```
## 19 [Viber](https://www.viber.com/)
```sh
brew install --cask viber
```
## 20 [Discord](https://discord.com/)
```sh
brew install --cask discord
```
## 21 [Signal](https://signal.org/)
```sh
brew install --cask signal
```
## 22 [Anki](https://apps.ankiweb.net/)
```sh
brew install --cask anki
```
## 23 [Figma](https://www.figma.com/)
```sh
brew install --cask figma
```
## 24 [Affinity](https://www.affinity.studio/)
```sh
brew install --cask affinity
```
## 25 [Environments](#environments)
```sh
mise use -g bun@1
mise use -g deno@2
mise use -g node@24
mise use -g python@3
```
## 26 [PostgreSQL](https://www.postgresql.org/)
```sh
brew install postgresql@18
```
## 27 [Yaak](https://yaak.app/)
```sh
brew install --cask yaak
```
## 28 [IntelliJ IDEA](https://www.jetbrains.com/idea/)
```sh
brew install --cask intellij-idea
sudo ln -s /Applications/IntelliJ\ IDEA.app/Contents/MacOS/idea /usr/local/bin/idea
```
```md
-Xss1m
-Xms2048m
-Xmx8192m
-XX:G1HeapRegionSize=16m
-XX:InitiatingHeapOccupancyPercent=66
-XX:MaxGCPauseMillis=100
-XX:NewRatio=2
-XX:ReservedCodeCacheSize=1024m
```
```md
project.tree.structure.show.url=false
```