We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffc5d6b commit 51eaf1dCopy full SHA for 51eaf1d
src/shelloracle/bootstrap.py
@@ -20,7 +20,7 @@ def replace_home_with_tilde(path: Path) -> Path:
20
return Path("~") / relative_path
21
22
23
-supported_shells = ["zsh", "bash"]
+supported_shells = ("zsh", "bash")
24
25
26
def get_installed_shells() -> list[str]:
@@ -79,7 +79,7 @@ def bootstrap() -> None:
79
if not (shells := get_installed_shells()):
80
print_error(f"No compatible shells found. Supported shells: {', '.join(supported_shells)}")
81
return
82
- if confirm("Enable terminal keybindings and update rc ?", suffix=" ([y]/n) ") is False:
+ if confirm("Enable terminal keybindings and update rc?", suffix=" ([y]/n) ") is False:
83
84
for shell in shells:
85
write_script_home(shell)
0 commit comments