Skip to content

Instantly share code, notes, and snippets.

@voidbar
Last active July 2, 2024 13:37
Show Gist options
  • Save voidbar/960b3d5bd19125ab0a11a272fc852a6b to your computer and use it in GitHub Desktop.
Save voidbar/960b3d5bd19125ab0a11a272fc852a6b to your computer and use it in GitHub Desktop.

Setting up a new Mac

Get the Dock organized

  • Go to Settings -> Dock -> "Hide Dock when not in use"
  • Remove unused items from dock
  • Make it more fun to use:
    defaults write com.apple.dock orientation left
    defaults write com.apple.Dock autohide-delay -float 0.05
    killall Dock

Fix tilde key

In terminal, run

sudo hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000064, "HIDKeyboardModifierMappingDst":0x700000035}]}'

on every boot.

Install fonts

Download Jetbrain Mono nerd font from here. Unzip and copy to ~/Library/Fonts/

Setting a Terminal

  • Install ITerm2
  • Install brew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Install oh-my-zsh and change theme to bira.
  • Set keyboard shortcucts: https://apple.stackexchange.com/a/293988.
  • Install a theme: https://github.com/catppuccin/iterm.
  • Set font, set opacity.
  • Setting -> Appearance -> Panes -> Remove all ticks
  • Setting -> Appearance -> Windows -> select "Hide Scrollbar"
  • Setting -> Profile -> Default -> Window -> Style -> "No Title Bar"
  • Setting -> Profile -> Default -> Window -> Tick "Use transparency"
  • Setting -> Profile -> Default -> Window -> Set Transparancy to 8

QoL

@GuyGoldenberg
Copy link

powerlevel10k is also a super cool theme for oh-my-zsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment