Installer: add ~/.local/bin to PATH instead of only warning
Appends an export to the profile for the user's shell (zsh: .zshrc, bash: .bash_profile on macOS / .bashrc on Linux, fish: config.fish), once, and tells the user to open a new terminal at the end of setup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QaE1hpvyZTJixEbUUMj9Ca
This commit is contained in:
parent
7ad0642d2e
commit
b07af69afa
2 changed files with 28 additions and 4 deletions
|
|
@ -148,6 +148,8 @@ Done.
|
|||
if not a.no_opencode:
|
||||
setup_opencode(cfg, ask=sys.stdin.isatty() and not a.yes, install_ok=a.opencode)
|
||||
say(f"\nOther machines: run `llmhost opencode-config` here for their opencode setup.")
|
||||
if os.environ.get("LLMHOST_PATH_NOTE"):
|
||||
say("\n" + os.environ["LLMHOST_PATH_NOTE"])
|
||||
|
||||
|
||||
def setup_opencode(cfg, ask, install_ok=False, later="llmhost opencode-setup"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue