feat: am one device per line
This commit is contained in:
parent
e1cf0ba26f
commit
62d5b1d6d0
2
bin/am
2
bin/am
@ -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)"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user