diff options
| author | 2026-02-05 02:22:15 +0300 | |
|---|---|---|
| committer | 2026-02-05 02:22:15 +0300 | |
| commit | 3c6d2974b5c07dd83c25b54cfc45ed5da5f93a54 (patch) | |
| tree | fc5da8ab1b74800f5c0e60275ab42e246c22aa58 /.zk | |
| parent | snapshot: 2026-02-04 (diff) | |
| download | zk-3c6d2974b5c07dd83c25b54cfc45ed5da5f93a54.tar.gz zk-3c6d2974b5c07dd83c25b54cfc45ed5da5f93a54.tar.bz2 zk-3c6d2974b5c07dd83c25b54cfc45ed5da5f93a54.tar.lz zk-3c6d2974b5c07dd83c25b54cfc45ed5da5f93a54.tar.xz zk-3c6d2974b5c07dd83c25b54cfc45ed5da5f93a54.tar.zst zk-3c6d2974b5c07dd83c25b54cfc45ed5da5f93a54.zip | |
snapshot: 2026-02-05
Diffstat (limited to '.zk')
| -rw-r--r-- | .zk/config.toml | 6 | ||||
| -rw-r--r-- | .zk/templates/directory.md | 18 |
2 files changed, 24 insertions, 0 deletions
diff --git a/.zk/config.toml b/.zk/config.toml index 24fc620..d0c5c2b 100644 --- a/.zk/config.toml +++ b/.zk/config.toml @@ -201,13 +201,19 @@ dead-link = "error" # Edit this configuration file. conf = '$EDITOR "$ZK_NOTEBOOK_DIR/.zk/config.toml"' +# Recreate database +recreate = 'rm "$ZK_NOTEBOOK_DIR/.zk/notebook.db" && zk index' + # Commmit changes commit = "$ZK_NOTEBOOK_DIR/.zk/commit.sh" # Creation commands +directory = 'zk new --no-input --template="directory.md"' huge-idea = 'zk new --no-input --template="huge-idea.md"' tiny-idea = 'zk new --no-input --template="tiny-idea.md"' + invention = 'zk new --no-input --template="invention.md"' rethought = 'zk new --no-input --template="rethought.md"' + reference = 'zk new --no-input --template="reference.md"' knowledge = 'zk new --no-input --template="knowledge.md"' diff --git a/.zk/templates/directory.md b/.zk/templates/directory.md new file mode 100644 index 0000000..fe2e26c --- /dev/null +++ b/.zk/templates/directory.md @@ -0,0 +1,18 @@ +--- +id: {{id}} +date: {{format-date now "%FT%T%z"}} +languages: [] +aliases: + +reviews: + +tags: +- draft +- directory +--- +# {{title}} + +{{content}} + +## Down +- |
