![]() If you have associated your shell script with an application other then Terminal, or its default application and you want to associate it back to Terminal, or its default application, simply do it the same way you did it to begin with. Note that without a proper shebang it may not execute properly by itself.Ī shell script with or without an extension can be associated with a different application, either individually or globally. sh extension will open by default in TextEdit. ![]() As an example, testing on a clean install of macOS Big Sur 11.4 (Intel) with no additional software installed and only the default installed software, a shell script made executable with a proper shebang, without an extension will by default be opened by and run in Terminal when double-clicked in Finder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |