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-29 12:53:05 +0200
committerSoispha <soispha@vhack.eu>2023-05-29 12:53:05 +0200
commit7d320b8492592e2dfe941ae2719f60e6a3daa0ba (patch)
tree7c1486d446496370a5fef1690512fd35bed50a66 /home-manager/config/lf/commands/scripts/mk_scr
parentFix(hm/conf/zsh): Also add a version for the shell library (diff)
downloadnixos-config-7d320b8492592e2dfe941ae2719f60e6a3daa0ba.zip
Feat(hm/conf/lf/cmds): Add a way to create temp scripts
Diffstat (limited to 'home-manager/config/lf/commands/scripts/mk_scr')
-rwxr-xr-xhome-manager/config/lf/commands/scripts/mk_scr31
1 files changed, 0 insertions, 31 deletions
diff --git a/home-manager/config/lf/commands/scripts/mk_scr b/home-manager/config/lf/commands/scripts/mk_scr
deleted file mode 100755
index 2f265aad..00000000
--- a/home-manager/config/lf/commands/scripts/mk_scr
+++ /dev/null
@@ -1,31 +0,0 @@
-#! /usr/bin/env dash
-
-# shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="1.1.3" . %SHELL_LIBRARY_PATH
-
-
-prompt "Script name: "
-name=""
-while [ -z "$name" ] || [ -e "$name" ]
-do
-  read -r name
-  if [ -e "$name" ]; then
-    prompt "Script already exists, overwrite [y|N]: "
-    read -r ans
-
-    if [ "$ans" = "y" ]; then
-      break
-    else
-      prompt "Script Name: "
-    fi
-  fi
-done
-
-script="$(pwd)"/"$name"
-
-cat "%SHELL_LIBRARY_TEMPLATE" > "$script"
-chmod +x "$script"
-"$VISUAL" "$script"
-
-
-# vim: ft=sh