patching exports and reading /etc/profile #6

Closed
verysmallrat wants to merge 1 commit from verysmallrat:fix/exports into main
Member

Patching to include reading of 'export' as this was removed in fix/cvsh-core merge.

Needed for downstream applications such as reading of /etc/profile in vlos.

This also includes a main read of /etc/profile as described above and matches approach of zsh (for example), though not quite as elegant. This logic will need to be re-written if I get around to doing builtins properly.

This approach can also now be used to read a source file like ~/.cvshrc later on but is not included in this commit.

Patching to include reading of 'export' as this was removed in fix/cvsh-core merge. Needed for downstream applications such as reading of /etc/profile in vlos. This also includes a main read of /etc/profile as described above and matches approach of zsh (for example), though not quite as elegant. This logic will need to be re-written if I get around to doing builtins properly. This approach can also now be used to read a source file like ~/.cvshrc later on but is not included in this commit.
Author
Member

Semi-medium prority because we can't actually read /etc/profile or any other 'export' vars right now.

Semi-medium prority because we can't actually read /etc/profile or any other 'export' vars right now.
Author
Member

...closing my own pr because my signed commit didn't last when I rebased to squash my commits brb.

...closing my own pr because my signed commit didn't last when I rebased to squash my commits brb.
verysmallrat closed this pull request 2026-07-26 05:46:56 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
vulpinelinux/Maintainers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vulpinelinux/cvsh!6
No description provided.