summaryrefslogtreecommitdiff
path: root/scripts/sh/cfg
diff options
context:
space:
mode:
authorGeorge Abbott <george@gabbott.dev>2025-01-26 11:37:22 +0000
committerGeorge Abbott <george@gabbott.dev>2025-01-26 11:37:22 +0000
commit82abadcecc7534b4847238ee2a977f33256b0439 (patch)
treead8752c1dc9914829e80bc2f3f1a45dfec8f4b4a /scripts/sh/cfg
parentbac748dbe8c28cf1ed3b387b24f89ffe5a58ffc9 (diff)
sh
Diffstat (limited to 'scripts/sh/cfg')
-rwxr-xr-xscripts/sh/cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/sh/cfg b/scripts/sh/cfg
new file mode 100755
index 0000000..cb375b5
--- /dev/null
+++ b/scripts/sh/cfg
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Bring up configuration files to edit them.
+# TODO: add Git into this.
+
+[ -z "$FUZZY" ] && echo "FUZZY not set" && exit
+
+file="$(find "$NEODOT/cfg" -type f | $FUZZY)"
+[ -z "$file" ] && exit 0
+nvim "$file"