diff options
| author | Robert Günzler <r@gnzler.io> | 2026-02-10 12:32:48 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-02-10 12:41:25 +0100 |
| commit | 63feeb9f369fc6176e85c1c2d8fcc863caad1946 (patch) | |
| tree | 41cd5d2d1ec36e74e464caab722cc9b460153f04 /bin/hibiki/zk-fzf-new | |
| parent | 5bd0a4aca65ecb9818ef1285982d160b6b6ff665 (diff) | |
start new
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bin/hibiki/zk-fzf-new')
| -rwxr-xr-x | bin/hibiki/zk-fzf-new | 16 |
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" |