From dfa2a9b47708b2b151fd12b542c0743322464e66 Mon Sep 17 00:00:00 2001 From: AngeD Date: Wed, 29 Mar 2023 20:09:24 +0200 Subject: [PATCH] fix: am nvim syntax highlight --- bin/am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/am b/bin/am index a68c8f1..96b1040 100755 --- a/bin/am +++ b/bin/am @@ -1,5 +1,4 @@ -#!/bin/bash -set -e +#!/bin/bash -e # TODO # mount all partitions by selecting disk @@ -12,7 +11,7 @@ function get_row() { printf '\e[6n' >&2 read -sdRr pos pos="${pos#*[}" - row="${pos%;*}" + row="${pos%\;*}" echo "$row" }