Skip to content

Instantly share code, notes, and snippets.

@arbelt
Forked from jamesrampton/open_without.sh
Created October 8, 2019 21:16
Show Gist options
  • Save arbelt/a09f1020002f4b8ec0e2516afb9424dd to your computer and use it in GitHub Desktop.
Save arbelt/a09f1020002f4b8ec0e2516afb9424dd to your computer and use it in GitHub Desktop.
Clean up Mac OS X Open With menu
#!/bin/bash
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
killall Finder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment