aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/zk/.local/bin/zkf
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-03-07 13:58:48 -0600
committerToby Vincent <tobyv13@gmail.com>2023-03-07 14:01:12 -0600
commit9e76c301ca99ecc56ad9f2555bd5e0c597f27f4b (patch)
treee5a46d03e79cf3b2416ccd86fe8b74fa404ac5bb /zk/.local/bin/zkf
parenta0ec5b0cbba816396ee1d5bfa1626040d3b16113 (diff)
fix(zk): cd editor into notebook directory
Diffstat (limited to 'zk/.local/bin/zkf')
-rwxr-xr-xzk/.local/bin/zkf2
1 files changed, 1 insertions, 1 deletions
diff --git a/zk/.local/bin/zkf b/zk/.local/bin/zkf
index 5ed7a36..70170fc 100755
--- a/zk/.local/bin/zkf
+++ b/zk/.local/bin/zkf
@@ -16,7 +16,7 @@ fi
if [ -z "$1" ]; then
exit 1
elif [ -f "$1" ]; then
- $EDITOR "$1"
+ $EDITOR -c "cd $ZK_NOTEBOOK_DIR" "$1"
else
zk new --title="$1"
fi