Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Associate sh files on Mac with correct application
I am new to macOS. I created an sh file but associated it with an editor in order to modify it. But now it opens with the editor and does not execute any more. Please advise how to associate sh files with correct application as before the change.