My version of a dead simple zettel CLI.
WARNING: Requires the silver searcher
Works better when combined vim
and zettel-vim
Stands for Zettelkasten
This version uses the bash date
command with %Y%m%d%H%M%S
as the format string.
Make sure the zettel
bash script is in your execution path
Make sure you have the ZETTEL_DIR
environment variable set to where you want your notes, else this program will default to the current directory.
Run zettel
to see the usage.
The following will create a new note with the name <ID> Hello World.md
and add the id to your clipboard, as well as echo it.
zettel -i new "Hello World"
The following will will do the same as above expect instead echo the filepath and copy it your clipboard.
zettel -f new "Hello World"