I got super tired of Xcode opening everything: .rb
, .sh
, etc etc etc....
NOTE: It may be helpful to know that I found the lsregister command right here:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/Current/Support/lsregister
I created a symlink as well.
ln -s /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/Current/Support/lsregister ~/bin/lsregister
Finally, here is how disassociate all file types from the Xcode app.
lsregister -u /Applications/Xcode.app