mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-18 21:26:12 +00:00
...
This commit is contained in:
parent
174f6b7ea8
commit
70f4112643
1 changed files with 1 additions and 2 deletions
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue