diff --git a/docs/changelog.rst b/docs/changelog.rst index c8c057413..a3745464e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -184,6 +184,8 @@ Detailed list of changes - Splits layout: add an ``equalize`` action and an ``equalize_on_close`` option to redistribute split space proportionally (:iss:`3489`) +- Fix matching var/env on tabs not working as expected (:iss:`10095`) + 0.47.1 [2026-05-28] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kitty/tabs.py b/kitty/tabs.py index 561d140ea..28f86a5e0 100644 --- a/kitty/tabs.py +++ b/kitty/tabs.py @@ -1084,6 +1084,11 @@ class Tab: # {{{ if w.matches_query(field, query): return True return False + case 'var' | 'env': + for w in self: + if w.matches_query(field, query): + return True + return False case 'index': if active_tab_manager and len(active_tab_manager.tabs): idx = (int(query) + len(active_tab_manager.tabs)) % len(active_tab_manager.tabs)