From cdb11384657d11d7f9302255c8f754dff58a0696 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 29 Nov 2021 12:42:02 +0530 Subject: [PATCH] ... --- kitty/shell_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/shell_integration.py b/kitty/shell_integration.py index c78a6fe1a..502d83d50 100644 --- a/kitty/shell_integration.py +++ b/kitty/shell_integration.py @@ -108,7 +108,7 @@ def get_supported_shell_name(path: str) -> Optional[str]: def shell_integration_allows_rc_modification(opts: Options) -> bool: - return not bool(opts.shell_integration & {'disabled', 'no-rc'}) + return not (opts.shell_integration & {'disabled', 'no-rc'}) def setup_shell_integration(opts: Options, env: Dict[str, str]) -> bool: