feat: am one device per line

This commit is contained in:
AngeD 2022-12-23 09:23:47 +01:00
parent e1cf0ba26f
commit 62d5b1d6d0

2
bin/am
View File

@ -4,7 +4,6 @@ set -e
# TODO # TODO
# - mount all partitions by selecting disk # - mount all partitions by selecting disk
# - usage # - usage
# - one device per line
# - support for /mnt # - support for /mnt
# - colors ? # - colors ?
@ -20,6 +19,7 @@ if ! [ -t 1 ]; then
exit 1 exit 1
fi fi
COLUMNS=1
while true; do while true; do
readarray -t LSBLK <<< "$(lsblk -n --paths --list | grep part)" readarray -t LSBLK <<< "$(lsblk -n --paths --list | grep part)"