Skip to content

Release v1.6.1#28

Merged
YASoftwareDev merged 2 commits into
masterfrom
release/v1.6.1
May 6, 2026
Merged

Release v1.6.1#28
YASoftwareDev merged 2 commits into
masterfrom
release/v1.6.1

Conversation

@YASoftwareDev
Copy link
Copy Markdown
Owner

Release v1.6.1 — see CHANGELOG.md

Summary

  • Fix false-positive "Activate zsh for this session" advisory when running via curl | bash
  • Add NXS_STDIN_IS_TTY ([ -t 0 ]) to gate exec-zsh advice on interactive sessions only

Test plan

  • curl ... | bash -s -- workstation on a machine where zsh is already the default shell → no shell advisory shown, "All done" if p10k configured
  • ./install.sh workstation from an interactive bash session → advisory still shown
  • CI matrix passes (15 combinations)

Wojciech Pędzimąż added 2 commits May 6, 2026 12:46
… context

When run via curl | bash, the installer's stdin is a pipe, not a tty.
The 'NXS_ZSH_IS_DEFAULT=true, not in zsh' branch was showing
'Activate zsh for this session: exec zsh' even though the bash process
is ephemeral — the user's real session was already in zsh.

Add NXS_STDIN_IS_TTY ([ -t 0 ]) and gate the exec-zsh advisory on it:
- NXS_ZSH_IS_DEFAULT branch: suppress entirely when not a tty
- NXS_BASHRC_EXECZSH branch: show the info line, hide 'Activate now:'
- chsh branch: show the chsh line (real pending action), hide 'Or activate now:'
@YASoftwareDev YASoftwareDev merged commit 3058084 into master May 6, 2026
15 checks passed
@YASoftwareDev YASoftwareDev deleted the release/v1.6.1 branch May 6, 2026 10:49
YASoftwareDev added a commit that referenced this pull request May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant