zk: Fix note dir location and add cd alias

The note dir is in fact our `$WIKIROOT` so we set it to that by default.
Also took the chance and added a small 'cd' command into the note dir,
using `ncd`
This commit is contained in:
Marty Oehme 2025-02-18 21:24:01 +01:00
parent 65bb7aa034
commit 395bf80abe
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
3 changed files with 4 additions and 1 deletions

View file

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