mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
...
This commit is contained in:
@@ -78,8 +78,7 @@ class Completer:
|
||||
def __init__(self) -> None:
|
||||
self.matches: List[str] = []
|
||||
ddir = cache_dir()
|
||||
with suppress(FileExistsError):
|
||||
os.makedirs(ddir)
|
||||
os.makedirs(ddir, exist_ok=True)
|
||||
self.history_path = os.path.join(ddir, 'shell.history')
|
||||
|
||||
def complete(self, text: str, state: int) -> Optional[str]:
|
||||
|
||||
Reference in New Issue
Block a user