diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-03-07 13:58:48 -0600 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-03-07 14:01:12 -0600 |
commit | 9e76c301ca99ecc56ad9f2555bd5e0c597f27f4b (patch) | |
tree | e5a46d03e79cf3b2416ccd86fe8b74fa404ac5bb | |
parent | a0ec5b0cbba816396ee1d5bfa1626040d3b16113 (diff) |
fix(zk): cd editor into notebook directory
-rwxr-xr-x | zk/.local/bin/zkf | 2 |
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 |