()
| 123 | |
| 124 | |
| 125 | def install_keybindings() -> None: |
| 126 | if not (shells := get_installed_shells()): |
| 127 | print_warning( |
| 128 | f"Cannot install keybindings: no compatible shells found. Supported shells: {' '.join(supported_shells)}" |
| 129 | ) |
| 130 | return |
| 131 | if confirm("Enable terminal keybindings and update rc?", suffix=" ([y]/n) ") is False: |
| 132 | return |
| 133 | for shell in shells: |
| 134 | write_script_home(shell) |
| 135 | update_rc(shell) |
| 136 | |
| 137 | |
| 138 | def user_configure_settings(provider: type[Provider]) -> dict[str, Any]: |
no test coverage detected