mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 00:08:04 +02:00
Fix shell integration being disabled with one invalid option
This commit is contained in:
@@ -804,7 +804,7 @@ def shell_integration(x: str) -> FrozenSet[str]:
|
||||
q = frozenset(x.lower().split())
|
||||
if not q.issubset(s):
|
||||
log_error(f'Invalid shell integration options: {q - s}, ignoring')
|
||||
return q & s
|
||||
return q & s or frozenset({'invalid'})
|
||||
return q
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user