commit 5b599f098b6844e7e9d70ec8ae173d9c5e079359 parent c0092d0daa8987756f83e5f7583127d09f683ca2 Author: Jacob R. Edwards <jacobouno@protonmail.com> Date: Thu, 22 Oct 2020 21:56:06 -0500 Add script Add edc script to edit files listed within a configuration file. Diffstat:
| A | scripts/.local/bin/edc | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/scripts/.local/bin/edc b/scripts/.local/bin/edc @@ -0,0 +1,5 @@ +#!/usr/bin/env dash +# Edit files from a list of files + +files=`egrep $@ "${XDG_CONFIG_HOME:?unset}/edc"` || exit 1 +${EDITOR:-vi} ${files}