Skip to content

fix(init): Update 'read -ra' to 'read -rA' in zsh fixing invalid option errors#539

Merged
ChronosMasterOfAllTime merged 1 commit into
go-nv:mainfrom
mstansberry:ms/3.1.0_zsh_read
May 19, 2026
Merged

fix(init): Update 'read -ra' to 'read -rA' in zsh fixing invalid option errors#539
ChronosMasterOfAllTime merged 1 commit into
go-nv:mainfrom
mstansberry:ms/3.1.0_zsh_read

Conversation

@mstansberry

Copy link
Copy Markdown

Problem:

Current 3.1.0 release fails to load goenv init - on zsh due to incorrect read command argument

Example:

(eval):read:11: bad option: -a
(eval):read:23: bad option: -a

Resolution:

Took path of least resistance making comparison at specific commands instead of duplicating entire default case

Testing:

Tested on MacOS 26.5 running zsh 5.9

@ChronosMasterOfAllTime

Copy link
Copy Markdown
Contributor

@mstansberry thanks for fixing this - approved the workflows to run

@ChronosMasterOfAllTime ChronosMasterOfAllTime added this pull request to the merge queue May 19, 2026
Merged via the queue into go-nv:main with commit 34afd30 May 19, 2026
10 of 11 checks passed
@mstansberry mstansberry deleted the ms/3.1.0_zsh_read branch May 19, 2026 14:49
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.

2 participants