summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2025-07-11 08:04:25 +1000
committerMaxime Coste <mawww@kakoune.org>2025-07-11 08:04:25 +1000
commit2dfa7fda650c978083c6f6432c923e0895dd7cf8 (patch)
treec3051bdece95c868f2486d04ee03c1621be10c27
parentdd696a2d9b131070d8f2bb56c51418e59ab30352 (diff)
Fix uses of non-standard == in shell testsHEADmaster
Fixes #5357
-rw-r--r--rc/filetype/hbs.kak2
-rw-r--r--rc/windowing/hyprland.kak2
2 files changed, 2 insertions, 2 deletions
diff --git a/rc/filetype/hbs.kak b/rc/filetype/hbs.kak
index 5ea99bc7..6b55d9ac 100644
--- a/rc/filetype/hbs.kak
+++ b/rc/filetype/hbs.kak
@@ -100,7 +100,7 @@ define-command -hidden hbs-indent-on-new-line %{
declare-option bool hbs_highlighters_enabled false
define-command -hidden maybe-add-hbs-to-html %{ evaluate-commands %sh{
- if [ "$kak_opt_hbs_highlighters_enabled" == "false" ]; then
+ if [ "$kak_opt_hbs_highlighters_enabled" = "false" ]; then
printf %s "
add-highlighter shared/html/hbs region '\{\{' '\}\}' ref hbs
add-highlighter shared/html/tag/hbs region '\{\{' '\}\}' ref hbs
diff --git a/rc/windowing/hyprland.kak b/rc/windowing/hyprland.kak
index 27ad16c2..a1118c8c 100644
--- a/rc/windowing/hyprland.kak
+++ b/rc/windowing/hyprland.kak
@@ -4,7 +4,7 @@ provide-module hyprland %{
# Ensure we're actually in Hyprland
evaluate-commands %sh{
[ -z "${kak_opt_windowing_modules}" ] ||
- [ "$XDG_CURRENT_DESKTOP" == "Hyprland" ] &&
+ [ "$XDG_CURRENT_DESKTOP" = "Hyprland" ] &&
[ -n "$HYPRLAND_INSTANCE_SIGNATURE" ] ||
echo 'fail hyprland not detected'
}