Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # This simple script does one thing and does it well:
- # it will refresh the "open with" sub-menu so that only CURRENT APPLICATIONS are listed.
- # Old or deleted apps are removed
- /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user;killall Finder
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement