Hacker News new | past | comments | ask | show | jobs | submit login

I have a script that changes the Terminal to the directory of the frontmost Finder window. Then I use touch to create empty new files.

The script, for whoever's curious: https://gitlab.com/jcfields/shell-scripts/-/blob/master/cdf

Back when I used Windows, I actually used the New > Text Document item discussed in the article all the time. It created an empty, 0-byte file, so I'd rename it to whatever file extension I needed. There was a folder that contained the templates for this menu so you could add or remove blank files for any type, but I only ever used the .txt file one.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: