Hide applications in contextual menu 'Open with' from an other OS X installation I just installed OS X 10.10 Yosemite (but this problem exists for any other OS with applications that run on your current Mac OS) and, because I have a Carbon Copy Clone of my old Mavericks installation on another hard drive installed on this Macbook, it shows applications from other installations mounted from the other hard drive.

Expecting the Terminal to work just as in Mavericks, how would I remove/exclude applications from a different installation from the 'open with' menu?
Does excluding the other Applications folder from Spotlight fix the problem?

In System Preference:



After you've added the folder in Spotlight, you'll can refresh the "Open with..." list by running this command in Terminal:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.fra‌​mework/Support/lsregister -kill -r -domain local -domain system -domain user