Skip to content

Instantly share code, notes, and snippets.

@phinze
Created January 18, 2020 23:41
Show Gist options
  • Save phinze/b118bce5e7edefe6f9778fd06bd90fd7 to your computer and use it in GitHub Desktop.
Save phinze/b118bce5e7edefe6f9778fd06bd90fd7 to your computer and use it in GitHub Desktop.
Remove all persistent apps from the macos dock
dockutil --list | grep persistent-apps | cut -d $'\t' -f1 | while read thing; do dockutil --remove "${thing}"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment