diff options
Diffstat (limited to 'bin/mnts')
| -rwxr-xr-x | bin/mnts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/mnts b/bin/mnts index 56eb185..cbf534c 100755 --- a/bin/mnts +++ b/bin/mnts @@ -48,8 +48,8 @@ handle() { done } -lsblk -fJ \ - | jq -r '.. | select(.uuid?!="" and .name?) | select((.name | test("hibiki|nvme") | not) and .fstype?) | [ .name, .label, .mountpoint // "" ] | @tsv' \ - | awk -F'\t' '{printf "/dev/%-10s\t%-15s\t%s\n", $1, $2, $3;}' \ - | menu --list=8 \ - | handle +lsblk -fJ | + jq -r '.. | select(.uuid?!="" and .name?) | select((.name | test("hibiki|nvme") | not) and .fstype?) | [ .name, .label, .mountpoints[0] // "" ] | @tsv' | + awk -F'\t' '{printf "/dev/%-10s\t%-15s\t%s\n", $1, $2, $3;}' | + menu --list=8 | + handle |