From 82abadcecc7534b4847238ee2a977f33256b0439 Mon Sep 17 00:00:00 2001 From: George Abbott Date: Sun, 26 Jan 2025 11:37:22 +0000 Subject: sh --- scripts/sh/cfg | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/sh/cfg (limited to 'scripts/sh/cfg') 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" -- cgit v1.2.1