Skip to content

Instantly share code, notes, and snippets.

@smutek
Last active August 9, 2020 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smutek/c808047126454a4543dc8eadc83c1960 to your computer and use it in GitHub Desktop.
Save smutek/c808047126454a4543dc8eadc83c1960 to your computer and use it in GitHub Desktop.
Clear the OS X dock
# Overwrite persistent-apps array in defaults with an empty array
# run in console, save as an alias, whatever. See man defaults for more infoz
# ht: https://krypted.com/mac-security/remove-all-apps-from-the-dock-in-os-x/
defaults write com.apple.dock persistent-apps -array && killAll Dock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment