Skip to content

Commit

Permalink
feat(init): add sort not working on debian12
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant0wan committed Mar 4, 2024
1 parent 90f22ce commit 0a2974a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0a2974a

Please sign in to comment.