If you are running OS X you might notice that, over time, your context menu has become bloated. The screen shot below shows the context menu for text files. As you can see, it could use pruning.
Luckily, it’s easy to prune this list. All you need to do is delete a Finder preference file.
- Go to your Home/Library/Preferences folder
- Find “com.apple.LaunchServices” file
- Delete it
The other way you can do this is by rebuilding the Launch Services database using the following command from the Terminal.
sudo /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
For me this second option seems to work best.