खोजक के माध्यम से विधि व्यावहारिक नहीं है। आप एक डेवलपर हैं, तो आपकी फ़ाइलें संभावना है, .profile शामिल .gitconfig, .bashrc, .bash_profile, .htdocs, आदि
सबसे अच्छा तरीका है (उदात्त पाठ 3 के लिए) इस बैश में है क्या करने के लिए:
defaults write com.apple.LaunchServices LSHandlers -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.3;}'
अन्य पाठ संपादक के लिए, मैं आप उचित तार के साथ 'com.sublimetext.3' की जगह ले सकता मान। आपके ऐप की स्ट्रिंग क्या होगी, यह जानने के लिए आप शायद अपने टेक्स्ट एडिटर के नाम + "LSHandlerContentType = public.plain-text" के लिए Google को देख सकते हैं।
मेरे लिए, यह दोनों खोजक के लिए चूक बदल गया है, और
$ open ~/.bashrc
भी देखें (http://apple.stackexchange.com/questions/49532/change-the-default-application-for-a-file-extension-via-script-command-line/) और [कैसे स्थायी रूप से ओपन में TextEdit डाल करने के लिए साथ ... मेनू सूची ?] (http://apple.stackexchange.com/questions/60591/how-to-permanently-put-textedit-in-the-open-with-menu-list/)। –
मैं इस पोस्ट के लिए आसान लगता है और उपयोगी http://www.imore.com/how-change-default-apps-os-x – shellbye