Skip to content

Instantly share code, notes, and snippets.

@c-l-nguyen
Created February 20, 2020 19:21
Show Gist options
  • Save c-l-nguyen/8d7a4114d48be6127661710118dd1f87 to your computer and use it in GitHub Desktop.
Save c-l-nguyen/8d7a4114d48be6127661710118dd1f87 to your computer and use it in GitHub Desktop.
Various macOS shell commands collection
#### macOS startup chime
# 1. Enter macOS Recovery
# 2. Launch Terminal
# 3. Copy paste this command and press ENTER: nvram StartupMute=%00
# 4. Reboot
# Note that you must unmute your Mac in macOS to hear the chime.
#### To fix Messages not staying open
defaults write -g NSDisableAutomaticTermination -bool yes
#### For Sourcetree to be able to log in automatically
git config --global credential.helper osxkeychain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment