some zk tweaks, new title format.

This commit is contained in:
Gabe Venberg 2025-02-26 10:13:51 +01:00
parent 1168fdb539
commit 9b9a075715

View file

@ -12,7 +12,7 @@
note = {
language = "en";
default-title = "untitled";
filename = "{{id}}-{{slug title}}";
filename = "{{slug title}}-{{id}}";
id-charset = "hex";
id-length = 8;
id-case = "lower";
@ -28,6 +28,7 @@
i = ''zk edit --interactive'';
unlinked-mentions = ''zk list --mentioned-by $1 --no-linked-by $1'';
wc = ''zk list --format '{{word-count}}\t{{title}}' --sort word-count $@'';
nt = ''zk new --title "''${*:2}" $1'';
};
tool = {