Skip to content

Instantly share code, notes, and snippets.

Last active Mar 16, 2021
What would you like to do?
MacOS notes

MacOS Notes



  • rewrap (hard word-wrap)
  • gitlens
  • Back & Forth
  • .zshrc
    • export PATH="$PATH:/Applications/Visual Studio"


  • joe
  • liquidprompt
  • zsh-completions
  • gh
  • mos
  • ukelele (for creating nodeadkey layouts)
  • gfxcardstatus


  • ssh
    • ssh-add -K (add to keychain)
    • config
      • UseKeychain Yes
  • sudo with touch-id
    • add auth sufficient to top of /etc/pam.d/sudo

existing tools

  • caffeinate
    • disables automatic standby

remove management

in recovery mode, mount "Macintosh HD", open Terminal, cd /Volumes/Macintosh\ HD:

  • Sentinel
    • Library/Sentinel/sentinel-agent.bundle/Contents/MacOS/sentinelctl uninstall --local
  • Profiles
    • remove everything from var/db/ConfigurationProfiles besides the .profilesAreInstalled files
    • ´rm -r Library/Managed\ Preferences`

in normal mode:

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