writing: Add zk configuration to writing module

This commit is contained in:
Marty Oehme 2023-03-03 12:56:18 +01:00
parent 88ab8c10a6
commit 356d3ef3e6
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#!/usr/bin/env sh
#
n() {
if [ $# -eq 0 ]; then
zk edit -i
else
zk "${@}"
fi
}

View file

@ -0,0 +1,4 @@
#!/usr/bin/env sh
#
export ZK_NOTEBOOK_DIR="${WIKIROOT:-~/documents/notes/}/pinky"