Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify env-diffing behavior in pgem_reload #24

Open
dimo414 opened this issue Apr 29, 2020 · 0 comments
Open

Simplify env-diffing behavior in pgem_reload #24

dimo414 opened this issue Apr 29, 2020 · 0 comments
Labels

Comments

@dimo414
Copy link
Owner

dimo414 commented Apr 29, 2020

See https://github.com/dimo414/ProfileGem/blob/1fd07b1/gemFunctions.sh#L31

It would be nice to do something more principled than the current set | sed ... approach to get the current environment. The comm ... | sed ... "diff" behavior could also be replaced, e.g. by sdiff -s, but sdiff truncates long lines which wouldn't be desirable here.

Cross-reference https://stackoverflow.com/a/61512569/113632 for some similar env-extracting logic.

@dimo414 dimo414 added the minor label Apr 29, 2020
@dimo414 dimo414 modified the milestone: v1.0 Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant