From a6d319f865e36f1ad51532614ba74585802aebcd Mon Sep 17 00:00:00 2001 From: ene Date: Sun, 12 Mar 2023 15:01:33 +0100 Subject: Fix(hm/conf/lf): Update to new shell lib version --- home-manager/config/lf/cmds/mk_ln | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'home-manager/config/lf/cmds/mk_ln') diff --git a/home-manager/config/lf/cmds/mk_ln b/home-manager/config/lf/cmds/mk_ln index 6b9e2b30..6b9e9761 100755 --- a/home-manager/config/lf/cmds/mk_ln +++ b/home-manager/config/lf/cmds/mk_ln @@ -4,7 +4,7 @@ # . ~/.local/lib/shell/lib . %SHELL_LIBRARY_PATH -LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d) + while IFS= read -r i;do set -- "$@" "$i" @@ -25,8 +25,8 @@ case "$mode" in ans="$(basename "$file")" while [ -e "$ans" ];do - printf "\"%s\" already exists, new name for link: " "$ans" - read -r ans + prompt "$ans already exists, new name for link: " + read -r ans < /dev/tty done ln -s "$file" "$(pwd)/$ans" -- cgit 1.4.1