Skip to content

Commit 2dfa7fd

Browse files
committed
Fix uses of non-standard == in shell tests
Fixes #5357
1 parent dd696a2 commit 2dfa7fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rc/filetype/hbs.kak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ define-command -hidden hbs-indent-on-new-line %{
100100
declare-option bool hbs_highlighters_enabled false
101101

102102
define-command -hidden maybe-add-hbs-to-html %{ evaluate-commands %sh{
103-
if [ "$kak_opt_hbs_highlighters_enabled" == "false" ]; then
103+
if [ "$kak_opt_hbs_highlighters_enabled" = "false" ]; then
104104
printf %s "
105105
add-highlighter shared/html/hbs region '\{\{' '\}\}' ref hbs
106106
add-highlighter shared/html/tag/hbs region '\{\{' '\}\}' ref hbs

rc/windowing/hyprland.kak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ provide-module hyprland %{
44
# Ensure we're actually in Hyprland
55
evaluate-commands %sh{
66
[ -z "${kak_opt_windowing_modules}" ] ||
7-
[ "$XDG_CURRENT_DESKTOP" == "Hyprland" ] &&
7+
[ "$XDG_CURRENT_DESKTOP" = "Hyprland" ] &&
88
[ -n "$HYPRLAND_INSTANCE_SIGNATURE" ] ||
99
echo 'fail hyprland not detected'
1010
}

0 commit comments

Comments
 (0)