diff options
-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 |