Skip to main content
Overview

Mac Basic Settings

May 19, 2022
1 min read

I consolidated scattered information into one place.

Rosetta2

Terminal window
/usr/sbin/softwareupdate --install-rosetta agree-to-license

brew

Depending on whether the terminal is arm or intel, brew installs accordingly. You just need to set up separate paths for the two.

ARM brew installation

Terminal window
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Intel brew installation

Terminal window
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# If the above command doesn't work, try this instead
arch -x86_64 zsh
cd /usr/local
mkdir homebrew
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew

Add the following to .zshrc

alias ibrew='arch -x86_64 /usr/local/homebrew/bin/brew'

terminal

Terminal window
# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# install syntax-highlight
brew install zsh-syntax-highlighting
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# install auto-suggestion
brew install zsh-autosuggestions

Language toggle key

  1. Install Karabiner-elements
  2. In Setting > Keyboard > Shortcuts > Input Sources, enable any one option and change the binding key to F18
  3. In Karabiner-elements > Simple modifications, set: From key: right_command To key: f18

Runcat

Change to use random runner

Hidden bar

Hold Command key to move the ’|’ and ’>’ shaped icons. You can hide menu icons based on that boundary.

Unsplash Wallpaper

Set it to change daily and switch whenever you want.

Loading comments...