The Dictionary in Script Editor recently started listing multiple entries for many applications. The “Open With” menu item finder also had many duplicates.
How to rebuild the LaunchServices database looked like the right fix.
$ locate lsregister
That path is way to long to type, notice the backticks
$ `locate lsregister` -kill -r -domain system -domain user