diff options
| author | Robert Günzler <r@gnzler.io> | 2021-08-30 18:31:17 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-08-31 12:41:20 +0200 |
| commit | afcf7e32a4577b10e59b38967a326768345114ed (patch) | |
| tree | 079acff9b3edbd3c1e15069c27073ccffdbd3d03 | |
| parent | b72b01d344a170c6c27e2304d0adfc246c4484d5 (diff) | |
remove bin/zet
| -rwxr-xr-x | bin/zet | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/bin/zet b/bin/zet deleted file mode 100755 index 7236cd4..0000000 --- a/bin/zet +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -ZET_DIR=$HOME/wiki - -case "$1" in - ls|l) - shift - fzfez vimwiki "$@" - ;; - - new|n) - f=${2:-/dev/stdout} - { - echo "---"; - yq n date "$(date -Iseconds)" \ - | yq w - title "$2"; - echo "---"; - echo ""; - } >> "$f" - [ "$f" = "/dev/stdout" ] && exit - nvim "$f" - ;; - - *) nvim "+VimwikiIndex" ;; -esac |