From 1e4fb0086ef0b2094e1e14579fce87b81b16773a Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 28 May 2023 18:35:07 +0200 Subject: Fix(hm/conf/lf/cmds/mk_scr): Use the official shell library template --- home-manager/config/lf/commands/scripts/mk_scr | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'home-manager/config/lf/commands/scripts/mk_scr') diff --git a/home-manager/config/lf/commands/scripts/mk_scr b/home-manager/config/lf/commands/scripts/mk_scr index 9d404c87..99f9f1d6 100755 --- a/home-manager/config/lf/commands/scripts/mk_scr +++ b/home-manager/config/lf/commands/scripts/mk_scr @@ -4,15 +4,7 @@ SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH script=$(mktmp) -cat << EOF > $script -#!/usr/bin/env dash -# shellcheck disable=SC2086 -# shellcheck source=/dev/null -. %SHELL_LIBRARY_PATH - - - -EOF +cat "%SHELL_LIBRARY_TEMPLATE" > "$script" readp "Script Name: " script_name scr="$(pwd)"/"$script_name" -- cgit 1.4.1