summary refs log tree commit diff
path: root/bin/hibiki/zk-fzf-new
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-02-10 12:32:48 +0100
committerRobert Günzler <r@gnzler.io>2026-02-10 12:41:25 +0100
commit63feeb9f369fc6176e85c1c2d8fcc863caad1946 (patch)
tree41cd5d2d1ec36e74e464caab722cc9b460153f04 /bin/hibiki/zk-fzf-new
parent5bd0a4aca65ecb9818ef1285982d160b6b6ff665 (diff)
start new
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bin/hibiki/zk-fzf-new')
-rwxr-xr-xbin/hibiki/zk-fzf-new16
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/hibiki/zk-fzf-new b/bin/hibiki/zk-fzf-new
deleted file mode 100755
index 2946668..0000000
--- a/bin/hibiki/zk-fzf-new
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-set -e
-
-title=${1:?missing note title}
-zkbin=${ZK_BIN:-"$(command -v zk)"}
-path=${ZK_NOTEBOOK_DIR:?missing notebook dir}
-
-newarg="$path"
-newtitle="$title"
-
-if [[ "${title}" =~ "/" ]]; then
-	newarg="$path/$(cut -d/ -f1 <<<"$title")"
-	newtitle="$(cut -d/ -f2 <<<"$title")"
-fi
-
-exec "${zkbin}" new "$newarg" --title "$newtitle"