From 0367833748089aaaa115de2f0b37bb380a297984 Mon Sep 17 00:00:00 2001 From: Vladimir Bauer Date: Fri, 15 Nov 2024 12:13:58 +0500 Subject: [PATCH] minor: $ inside $(()) is not required --- scripts/kamp-buffers | 2 +- scripts/kamp-fifo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kamp-buffers b/scripts/kamp-buffers index e99ae03..c5b4ec4 100755 --- a/scripts/kamp-buffers +++ b/scripts/kamp-buffers @@ -23,7 +23,7 @@ while getopts 's:h' OPTION; do ;; esac done -shift $(($OPTIND - 1)) +shift $((OPTIND - 1)) : ${session:=$KAKOUNE_SESSION} diff --git a/scripts/kamp-fifo b/scripts/kamp-fifo index 735e1bc..bb4e253 100755 --- a/scripts/kamp-fifo +++ b/scripts/kamp-fifo @@ -23,7 +23,7 @@ while getopts 'c:h' OPTION; do ;; esac done -shift $(($OPTIND - 1)) +shift $((OPTIND - 1)) kamp >/dev/null # fail early if there is no session