diff options
Diffstat (limited to '')
-rwxr-xr-x | home-manager/config/lf/cmds/mk_scr | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/home-manager/config/lf/cmds/mk_scr b/home-manager/config/lf/cmds/mk_scr index 82ea3733..6857e8f6 100755 --- a/home-manager/config/lf/cmds/mk_scr +++ b/home-manager/config/lf/cmds/mk_scr @@ -4,8 +4,6 @@ # . ~/.local/lib/shell/lib . %SHELL_LIBRARY_PATH - - script=$(mktmp) cat << EOF > $script #!/usr/bin/env dash @@ -15,7 +13,6 @@ cat << EOF > $script -if [ -d "\$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "\$LIB_TEMP_DIR_FOR_SCRIPT"; fi EOF readp "Script Name: " script_name @@ -29,7 +26,6 @@ done cat "$script" > "$scr" chmod +x "$scr" -if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi "$VISUAL" "$scr" # vim: ft=sh |