Commit graph

6 commits

Author SHA1 Message Date
225641c1f0
zk: Create aliases for creating new note/draft/log 2025-02-22 19:35:39 +01:00
613df98520
zk: Ensure global wiki cmds are always executed in wiki
We use a custom zk indirection which ensures that any short alias for
interacting with the zk wiki will actually act on the globally assigned
wiki (by ensuring notebooks dir is "$WIKIROOT").
2025-02-22 19:35:38 +01:00
44cd4481a2
zk: Only create aliases if local wiki found
Local wiki requires the '$WIKIROOT' env var to be set, pointing to the
root of the (zk) wiki. So we only create associated aliases if the wiki
actually exists on a machine.
2025-02-22 19:35:38 +01:00
395bf80abe
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`
2025-02-18 22:41:40 +01:00
083ef0a6ad
zk: Move nvim wiki index opening to zk module
While technically invoking nvim, it belongs more into the zk module
since it is only to be added if zk exists.
2025-02-07 13:11:52 +01:00
c14710aa98
vcs: Fix writing module structure 2024-09-19 11:18:54 +02:00
Renamed from writing/zk/sh/alias.d/zk.sh (Browse further)