This repository has been archived on 2021-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
plan9-scripts/z/ins

7 lines
167 B
Bash
Executable File

#!/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