about summary refs log tree commit diff stats
path: root/home-manager/config/lf/commands/scripts/mk_scr
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-28 18:35:07 +0200
committerSoispha <soispha@vhack.eu>2023-05-28 22:02:51 +0200
commit1e4fb0086ef0b2094e1e14579fce87b81b16773a (patch)
treefe08500bad6be7d03839bb91f8d78588d0370af6 /home-manager/config/lf/commands/scripts/mk_scr
parentFix(flake): Add 'flake_version_update' for following (diff)
downloadnixos-config-1e4fb0086ef0b2094e1e14579fce87b81b16773a.tar.gz
nixos-config-1e4fb0086ef0b2094e1e14579fce87b81b16773a.zip
Fix(hm/conf/lf/cmds/mk_scr): Use the official shell library template
Diffstat (limited to '')
-rwxr-xr-xhome-manager/config/lf/commands/scripts/mk_scr10
1 files changed, 1 insertions, 9 deletions
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"