Skip to content

refactor: standardize shell setup to improve non posix shell support#1487

Open
Wizzzzzzard wants to merge 22 commits intoJuliaLang:mainfrom
Wizzzzzzard:refactor/standardize-shell-setup-to-improve-non-POSIX-support
Open

refactor: standardize shell setup to improve non posix shell support#1487
Wizzzzzzard wants to merge 22 commits intoJuliaLang:mainfrom
Wizzzzzzard:refactor/standardize-shell-setup-to-improve-non-POSIX-support

Conversation

@Wizzzzzzard
Copy link
Copy Markdown

@Wizzzzzzard Wizzzzzzard commented Apr 20, 2026

I was initially working on trying to add automatic integration for the fish shell (related to issue 594) but realised with the current setup it was very difficult to add non-POSIX compliant shells

This PR trys to simplify this process by adopting ideas from rustup's approach which uses templated shell scripts rather than inline shell code (e.g. for bash). It also tries to decouple the code relating to shell setup from the I/O and other concerns in operations.rs.

Hopefully the included changes can simplify the process of adding additional shells in the future.

@davidanthoff @KristofferC

@Wizzzzzzard Wizzzzzzard changed the title refactor: standardize shell setup to improve non posix support refactor: standardize shell setup to improve non posix shell support Apr 21, 2026
@Wizzzzzzard Wizzzzzzard marked this pull request as ready for review April 21, 2026 13:53
@Wizzzzzzard Wizzzzzzard force-pushed the refactor/standardize-shell-setup-to-improve-non-POSIX-support branch from f73bcaf to 7702093 Compare April 21, 2026 14:30
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