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`
4 lines
78 B
Bash
4 lines
78 B
Bash
#!/usr/bin/env sh
|
|
#
|
|
|
|
export ZK_NOTEBOOK_DIR="${WIKIROOT:-~/documents/notes/}"
|