Files
hermes-agent/tests/scripts/install
ethernet 71d120be6b fix(install): wire ~/.local/bin into ~/.bash_login for login-bash users
A login bash reads only the first of ~/.bash_profile, ~/.bash_login and
~/.profile. wire_shell_path always wrote ~/.profile and ~/.bash_profile
when present, so a user whose only login file is ~/.bash_login never saw
~/.local/bin on PATH. Treat ~/.bash_login like ~/.bash_profile: append the
guarded PATH line when the file exists, never create it (creating
~/.bash_profile would shadow it).

The test helper resolves bash by absolute path so the login-PATH tests run
on hosts without /bin/bash (NixOS).
2026-10-02 19:55:57 -04:00
..