Skip to content

Posix rewrite#1

Merged
wadebee merged 14 commits intomainfrom
posix-rewrite
Mar 29, 2026
Merged

Posix rewrite#1
wadebee merged 14 commits intomainfrom
posix-rewrite

Conversation

@wadebee
Copy link
Copy Markdown
Owner

@wadebee wadebee commented Mar 29, 2026

Conversion of BASH based implementation to Posix for macOS compatibility

wadebee added 14 commits March 29, 2026 16:39
Added a warning to inform users that they must restart their bash shell
after installation to apply the changes.
- Revise naming conventions, activation commands, and installation guidelines- Modify shim templates and contributor documentation for POSIX compliance
- Adjust architecture docs to reflect approved POSIX rewrite decisions
- Remove Bash-specific references and symlink install mode from documentation
Simplify install to single-root layout:
  - Remove symlink install mode  - Remove exported Shimmy path variables
  - Derive all paths (shim, images, lib) from install root
Rewrite scripts in POSIX shell for improved portability.
Activation no longer exports Shimmy path variables (SHIMMY_*); only updates PATH.
…ation workflow

Rewrite the compact restart brief to provide clear step-by-step instructions for implementing approved decisions. Add structured design decisions section and clarify checklist management process.
prompts. New questions focus on code acceptance, design decision
approval, and documenting implementation findings for follow-up.
…naging shell startup files.

Integrate startup file management into `install` and `update` commands.

The `install` command now updates the user's shell startup file by default,
with options to override the shell, specify a custom startup file, or skip
the update. The `update` command gains a `--repair-startup` option to
rewrite the managed startup block.

Update documentation and tests to reflect the new behavior and remove
references to the old onboarding helper.
Delete the tracked Bash-only helpers under lib/repo/

Update CONTRIBUTING.md and README.md to reflect the new
shimmy-startup.sh helper and clarify startup file behavior. Refactor
dash parser checks in test-shimmy.sh to dynamically discover tracked
shell files instead of maintaining a hardcoded list. Mark completed
design decisions and removal task in the session checklist.
@wadebee wadebee merged commit 3eeeb4c into main Mar 29, 2026
2 checks 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