Open gandalfsaxe opened 4 years ago
Not sure which of the three did it for me (because I set them all in one go), but for me, .gitignore files are now opened with sublime text:
❯ duti -s com.sublimetext.3 public.plain-text all
❯ duti -s com.sublimetext.3 public.unix-executable all
❯ duti -s com.sublimetext.3 public.data all
Obviously, replace sublime text with VSCode for your use case.
I was looking for an answer to this as well, seeing the response from @sonOfRa, and having already tried plain-text
, I did them one at a time and killed Finder from Activity Monitor after each. It's definitely data
... Hopefully associating TextMate with unix-executable
doesn't break anything! 😂
@sonOfRa Thanks! FYI at was this that fixed it:
duti -s com.sublimetext.3 public.plain-text all
I tried;
duti -s com.microsoft.VSCode gitignore all
duti -s com.microsoft.VSCode public.unix-executable all
but it still opens
.gitignore
in TextEdit. Any suggestions?