fix: am nvim syntax highlight

This commit is contained in:
AngeD 2023-03-29 20:09:24 +02:00
parent 4f5877dc51
commit dfa2a9b477

5
bin/am
View File

@ -1,5 +1,4 @@
#!/bin/bash #!/bin/bash -e
set -e
# TODO # TODO
# mount all partitions by selecting disk # mount all partitions by selecting disk
@ -12,7 +11,7 @@ function get_row() {
printf '\e[6n' >&2 printf '\e[6n' >&2
read -sdRr pos read -sdRr pos
pos="${pos#*[}" pos="${pos#*[}"
row="${pos%;*}" row="${pos%\;*}"
echo "$row" echo "$row"
} }