aboutsummaryrefslogtreecommitdiff
path: root/scripts/checktodo
diff options
context:
space:
mode:
authorPolesznyák Márk <contact@pml68.dev>2025-11-29 01:45:07 +0100
committerPolesznyák Márk <contact@pml68.dev>2025-12-29 14:50:02 +0100
commitbf7347380207d80183ce80ae6547ef08fa579c6a (patch)
treeec64896997e4bd76d89738f0b156dde7423ff107 /scripts/checktodo
parentfeat: initial commit (diff)
downloaddotfiles-bf7347380207d80183ce80ae6547ef08fa579c6a.tar.gz
feat: add scripts, TARGET variable for Makefile
Diffstat (limited to '')
-rwxr-xr-xscripts/checktodo11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/checktodo b/scripts/checktodo
new file mode 100755
index 0000000..e0c1eeb
--- /dev/null
+++ b/scripts/checktodo
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [ -f "./TODO.md" ]; then
+ FILE="./TODO.md"
+elif [ -f "./TODO.txt" ]; then
+ FILE="./TODO.txt"
+else
+ FILE="$HOME/TODO.md"
+fi
+
+nvim $FILE