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