diff options
author | George Abbott <george@gabbott.dev> | 2025-01-26 11:37:22 +0000 |
---|---|---|
committer | George Abbott <george@gabbott.dev> | 2025-01-26 11:37:22 +0000 |
commit | 82abadcecc7534b4847238ee2a977f33256b0439 (patch) | |
tree | ad8752c1dc9914829e80bc2f3f1a45dfec8f4b4a /scripts/sh/cfg | |
parent | bac748dbe8c28cf1ed3b387b24f89ffe5a58ffc9 (diff) |
sh
Diffstat (limited to 'scripts/sh/cfg')
-rwxr-xr-x | scripts/sh/cfg | 9 |
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" |