add initial version of zettelkasten tools

This commit is contained in:
glenda 2021-06-18 17:24:31 +00:00
parent 16438909e5
commit 84dc332c3b
2 changed files with 14 additions and 0 deletions

6
z/ins Executable file
View File

@ -0,0 +1,6 @@
#!/bin/rc
# z/ins - make a new zettelkasten note,
basepath=$oshome/vimwiki/zettel/ # needs a trailing /
id=`{date -f 'YYYYMMDDhhmmss'}
echo -n [[^$id^'.md'^]]
z/new

8
z/new Executable file
View File

@ -0,0 +1,8 @@
#!/bin/rc
# z/new - create a new zettelkasten note
basepath=$oshome/vimwiki/zettel/
id=`{date -f 'YYYYMMDDhhmmss'}
notepath=$basepath^'/'^$id^'.md'
echo '#' $id - > $notepath
plumb $notepath