diff options
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 +- |
