Merge branch 'main' of 192.168.1.159:tour/finish
Some checks failed
Docker Build and Push / build-and-push (push) Has been cancelled
Tests / test (bash) (push) Has been cancelled
Tests / test (zsh) (push) Has been cancelled
Tests / lint (push) Has been cancelled
Tests / docker (push) Has been cancelled

This commit is contained in:
mike
2025-12-29 21:43:10 +01:00

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python3
"""
finish.py AI shell completions that never leave your machine.
finish.py - AI shell completions that never leave your machine.
"""
from __future__ import annotations
import hashlib
@@ -376,7 +376,7 @@ bind -x '"\\e\\\\": _finish_complete'
if marker in text:
return
rc.write_text(text + "\n" + snippet)
console.print("[green]Key-binding installed (Alt+\\)[/] restart your shell.")
console.print("[green]Key-binding installed (Alt+\\)[/] - restart your shell.")
def main():
# Handle readline-complete flag before argparse (for bash bind -x)