summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xbin/zet25
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