diff options
author | ene <ene@sils.li> | 2023-03-17 17:14:04 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-17 17:14:04 +0100 |
commit | 255cfac07b83e1e9840f0ca4d30a67272ee12209 (patch) | |
tree | 4076adf5a9f06cb1295ce95ea82308788815de7c /home-manager/config/lf/cmds/mk_scr | |
parent | Fix(system): Remove the Intel specific things (diff) | |
download | nixos-config-255cfac07b83e1e9840f0ca4d30a67272ee12209.zip |
Fix(hm/conf/lf): Update to new shell lib version
Diffstat (limited to 'home-manager/config/lf/cmds/mk_scr')
-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 |