aboutsummaryrefslogtreecommitdiff
path: root/scripts/checktodo
diff options
context:
space:
mode:
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