summaryrefslogtreecommitdiff
path: root/bib/bibcmp
diff options
context:
space:
mode:
Diffstat (limited to 'bib/bibcmp')
-rwxr-xr-xbib/bibcmp8
1 files changed, 8 insertions, 0 deletions
diff --git a/bib/bibcmp b/bib/bibcmp
new file mode 100755
index 0000000..dbff044
--- /dev/null
+++ b/bib/bibcmp
@@ -0,0 +1,8 @@
+#!/bin/sh
+# bibcmp: mark an entry as completed.
+# This filters for all with status == ongoing, and can mark one as completed.
+# Depends: fzf.
+
+grep "ongoing" $(orgdresolv "ORGD_BIBCSV_PATH") | \
+ awk -F';' '{ printf "%s: %s\n", $2, $3 }' | \
+ fzf