Keep sandbox PATH for login shells via managed ~/.profile block #4

Merged
mathieu merged 1 commit from lain/entrypoint-path-profile-20261102103741 into main 2026-11-02 09:40:59 +00:00
Collaborator

The entrypoint already puts the asdf shims and aqua bin on PATH for child shells. Debian's /etc/profile resets PATH for login shells (bash -l, tmux, ssh), so they lost those dirs.

This writes an idempotent managed block to ~/.profile that re-applies DASH_TOOLS/bin and DASH_PATH at login. The rest of ~/.profile is kept.

Tests: child-shell PATH, login-shell PATH, and block idempotence in internal/assets.

The entrypoint already puts the asdf shims and aqua bin on PATH for child shells. Debian's /etc/profile resets PATH for login shells (bash -l, tmux, ssh), so they lost those dirs. This writes an idempotent managed block to ~/.profile that re-applies DASH_TOOLS/bin and DASH_PATH at login. The rest of ~/.profile is kept. Tests: child-shell PATH, login-shell PATH, and block idempotence in internal/assets.
Keep sandbox PATH for login shells via managed ~/.profile block
All checks were successful
ci / test (pull_request) Successful in 1m10s
7c2159d0e1
Debian's /etc/profile resets PATH, so bash -l, tmux and ssh lost the asdf
shims and aqua bin. The entrypoint now writes an idempotent dash block to
~/.profile that re-applies DASH_TOOLS/bin and DASH_PATH at login.

Tests cover child-shell PATH, login-shell PATH, and block idempotence.
mathieu deleted branch lain/entrypoint-path-profile-20261102103741 2026-11-02 09:40:59 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
mathieu/dash!4
No description provided.