(shell: str)
| 45 | |
| 46 | |
| 47 | def get_bundled_script_path(shell: str) -> Path: |
| 48 | shell_dir = Path(__file__).parent / "shell" |
| 49 | if shell == "zsh": |
| 50 | return shell_dir / "shelloracle.zsh" |
| 51 | if shell == "fish": |
| 52 | return shell_dir / "shelloracle.fish" |
| 53 | return shell_dir / "shelloracle.bash" |
| 54 | |
| 55 | |
| 56 | def get_script_path(shell: str) -> Path: |