diff --git a/docs/changelog.rst b/docs/changelog.rst index 2f4bb6293..bda54012a 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -44,6 +44,8 @@ To update |kitty|, :doc:`follow the instructions `. Plex Mono and have the regular face with a full name that is the same as the family name (:iss:`2951`) +- Fix a regression that broke :opt:`kitten_alias` (:iss:`2952`) + 0.18.3 [2020-08-11] ------------------- diff --git a/kitty/config.py b/kitty/config.py index 5a777e5c5..bd4a276cf 100644 --- a/kitty/config.py +++ b/kitty/config.py @@ -393,7 +393,7 @@ class KeyDefinition: if len(expanded) > 1: rest = expanded[1] + ' ' + rest if changed: - self.action = self.action._replace(args=[kitten + (' ' + rest).rstrip()]) + self.action = self.action._replace(args=[kitten, rest.rstrip()]) def parse_key(val: str, key_definitions: List[KeyDefinition]) -> None: