how to reset open with on macos

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

references:

https://apple.stackexchange.com/questions/64124/how-can-i-modify-the-list-of-applications-under-open-with

extra skill:

restarting audio service: sudo killall coreaudiod