D.O. on Nostr: # How to create and edit a YYYY-MM-DD.todo file in any directory Create a function ...
# How to create and edit a YYYY-MM-DD.todo file in any directory
Create a function for your shell (tested in bash and zsh)
```bash
2do() { vi $(date +%F.todo); }
```
Now upon entering ```2do``` command in console it will create or edit existing file in the current directory for your Todo needs.
#TIL
#Linux
#Console
#oneliner
#Todo
Create a function for your shell (tested in bash and zsh)
```bash
2do() { vi $(date +%F.todo); }
```
Now upon entering ```2do``` command in console it will create or edit existing file in the current directory for your Todo needs.
#TIL
#Linux
#Console
#oneliner
#Todo