From 0a2974ade751e3d4a463b44e15dee60af0c99a53 Mon Sep 17 00:00:00 2001 From: Antoine Barthelemy Date: Mon, 4 Mar 2024 13:56:32 +0100 Subject: [PATCH] feat(init): add sort not working on debian12 --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 391c1c5..6e89bcd 100755 --- a/init.sh +++ b/init.sh @@ -18,7 +18,7 @@ _prompt() { tar -xvf "$target" folder="$(echo "$target" | awk -F '.tar.gz' '{ print $1 }')" cp "${folder}/bat" bin/bat - selection="$(find tools/ -type f -printf "%f\n" | awk -F '.' '{ print $1 }' | bin/sk --multi --bind 'right:select-all,left:deselect-all,space:toggle+up' --preview="bin/bat --color=always tools/{}.install.sh --color=always")" + selection="$(find tools/ -type f -printf "%f\n" | awk -F '.' '{ print $1 }' | sort | bin/sk --multi --bind 'right:select-all,left:deselect-all,space:toggle+up' --preview="bin/bat --color=always tools/{}.install.sh --color=always")" } download_path=$(mktemp -d -t config.XXXXXXXXXX) cd "$download_path"