Skip to main content
5 events
when toggle format what by license comment
Jul 4, 2019 at 13:40 comment added Mark White @wrossmck This works for me in High Sierra. Once I did this on a .txt file, typing something like open -t script.sql still opened it in my preferred text editor that I set using these directions, even though the extension isn't .txt
Mar 9, 2015 at 18:55 comment added David Resnick wrossmck You are basically right -- my answer even repeats the referred to Q&A in the first line of this question. But I didn't notice this until after I pieced together my answer myself from other answers on this page and posted this answer. Maybe the problem is that searches for the simple answer (i.e. .txt files) lead to this page and not the others (as @Teddy and I found).
Mar 6, 2015 at 14:03 comment added Teddy Even if the answer is slightly off topic, it still helped me out from a Google search. +1
Mar 6, 2015 at 11:50 comment added wrossmck This does not answer the question. The question is how to do this for all files, even those without a file extension.
Mar 5, 2015 at 21:36 history answered David Resnick CC BY-SA 3.0