9 lines
192 B
Plaintext
9 lines
192 B
Plaintext
|
#!/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
|