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