mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
Fix #3794
This commit is contained in:
@@ -20,7 +20,10 @@ else:
|
|||||||
|
|
||||||
|
|
||||||
def resolved_kitten(k: str) -> str:
|
def resolved_kitten(k: str) -> str:
|
||||||
return aliases.get(k, k).replace('-', '_')
|
ans = aliases.get(k, k)
|
||||||
|
head, tail = os.path.split(ans)
|
||||||
|
tail = tail.replace('-', '_')
|
||||||
|
return os.path.join(head, tail)
|
||||||
|
|
||||||
|
|
||||||
def path_to_custom_kitten(config_dir: str, kitten: str) -> str:
|
def path_to_custom_kitten(config_dir: str, kitten: str) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user