Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New File command #73

Open
reibitto opened this issue Aug 10, 2020 · 0 comments
Open

New File command #73

reibitto opened this issue Aug 10, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@reibitto
Copy link
Owner

Reference: https://github.com/vitorgalvao/alfred-workflows/tree/master/NewFile

Call nf followed by a file name (if you don’t give it an extension, it’ll be .txt) to make a new file. If you type nfo instead the files will open after creation. If you have a Finder or Path Finder window as your frontmost window, the file will be created there, otherwise it will be created on your Desktop.

Things I would add to this:

  • If the filename ends in / it should create a directory instead of a file with no extension
  • The fallback should be configurable rather than always Desktop
@reibitto reibitto added the good first issue Good for newcomers label Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant