Skip to content

fix: shell-classes tilde, quoted default words and clobber ordering - #74

Merged
alsoknownaswill merged 1 commit into
mainfrom
pub-follow-1
Nov 3, 2026
Merged

alsoknownaswill merged 1 commit into
mainfrom
pub-follow-1

Conversation

@alsoknownaswill

Copy link
Copy Markdown
Member

Closes the remaining ways the install-hook scan could lose track of a written file or a shell variable:

  • tilde forms (~+, ~0, ~+//x, a quoted or escaped tilde, an empty quote before a tilde) are read the way a shell reads them, in both the redirect/write tracker and the changed-file matcher
  • ${V:-word} default words: quotes and backslashes are read as the shell reads them; unreadable ones hold
  • := assignments inside any redirect target and the clobber ordering
  • tests per class

@alsoknownaswill
alsoknownaswill merged commit 55c6f9f into main Nov 3, 2026
1 check passed
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