MCPcopy Create free account
hub / github.com/djcopley/ShellOracle / get_script_path

Function get_script_path

src/shelloracle/bootstrap.py:56–61  ·  view source on GitHub ↗
(shell: str)

Source from the content-addressed store, hash-verified

54
55
56def get_script_path(shell: str) -> Path:
57 if shell == "zsh":
58 return Path.home() / ".shelloracle.zsh"
59 if shell == "fish":
60 return Path.home() / ".shelloracle.fish"
61 return Path.home() / ".shelloracle.bash"
62
63
64def get_rc_path(shell: str) -> Path:

Callers 2

write_script_homeFunction · 0.85
update_rcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected