From 8385212f98f1684996118ccb0d2efaa25c1102c1 Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Mon, 1 Oct 2018 15:45:28 +1000 Subject: [PATCH] doc.kak: Fix bashism. Fixes #2442. --- rc/core/doc.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/doc.kak b/rc/core/doc.kak index d0f730e3..a4125dfb 100644 --- a/rc/core/doc.kak +++ b/rc/core/doc.kak @@ -62,7 +62,7 @@ define-command doc-jump-to-anchor -params 1 %{ shift for range in "$@"; do - if [ "${range#*|}" == "$anchor" ]; then + if [ "${range#*|}" = "$anchor" ]; then printf '%s\n' "select '${range%|*}'; execute-keys vv" exit fi