zk: Add new inbox note function

Add simple alias function which allows quickly creating a note destined
for the inbox by typing `nni`.
This commit is contained in:
Marty Oehme 2025-03-08 08:41:53 +01:00
parent a01431609f
commit 0ce49d758a
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -26,6 +26,9 @@ if [ -n "${WIKIROOT}" ]; then
nn() { # 'new note' nn() { # 'new note'
_zk_wiki new "$@" _zk_wiki new "$@"
} }
nni() { # 'new note inbox'
_zk_wiki new -t "${*}" inbox
}
nnl() { # 'new note log' nnl() { # 'new note log'
_zk_wiki log "$@" _zk_wiki log "$@"
} }