doc.kak: Fix bashism.

Fixes #2442.
This commit is contained in:
Tim Allen 2018-10-01 15:45:28 +10:00
parent 551021d6e5
commit 8385212f98

View File

@ -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