diff --git a/kitty/utils.py b/kitty/utils.py index 625310c0a..e4e0f4a67 100644 --- a/kitty/utils.py +++ b/kitty/utils.py @@ -535,7 +535,6 @@ def get_editor_from_env(env: Mapping[str, str]) -> Optional[str]: def get_editor_from_env_vars(opts: Optional[Options] = None) -> List[str]: import shlex - import shutil editor = get_editor_from_env(os.environ) if not editor: