diff --git a/z/ins b/z/ins new file mode 100755 index 0000000..1c414bb --- /dev/null +++ b/z/ins @@ -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 diff --git a/z/new b/z/new new file mode 100755 index 0000000..247b68f --- /dev/null +++ b/z/new @@ -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