I've uninstalled my former default text editor which I used for many different file formats. Unfortunately the associated icons are not removed automatically. As a result, several file types still use the icon of the program, even though it's not on my machine anymore.
There a several similar questions around here and this one seemed to be most promising, but it doesn't work on El Capitan (version 10.11.5). Does anyone how I can achieve this on a current version of Mac OS X?
EDIT: After assigning a new default program (no matter if I do that via RCDefaultApp or Finder), the old icon remains. If, for instance, I choose Atom as the new default editor for XML files, the former editor icon (Emacs) is still there.
Best Answer
Run this command in Terminal:
sudo rm -rf /Library/Caches/com.apple.iconservices.store
And G'bye atom icon.