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

Environemnts module #24

Closed
Yohe-Am opened this issue Dec 20, 2023 · 0 comments · Fixed by #46
Closed

Environemnts module #24

Yohe-Am opened this issue Dec 20, 2023 · 0 comments · Fixed by #46
Labels
enhancement New feature or request envs Relating to the envs module.

Comments

@Yohe-Am
Copy link
Contributor

Yohe-Am commented Dec 20, 2023

A separate module responsible for:

  • Maintaining the PATH strings and other exported environment variables from Ports
  • Writing and maintaining the auto loaders
  • Possibly, maintaining shims and aliases

More feature ideas:

  • Support multiple environments per ghjk.ts providing commands to switch from one to the other.
    • Might provide a simple solution to the "multi-version support" feature.
    • Poetry's env command and python virtual environments are a great inspo for this.
    • Whichever environment is selected as default will be picked by the auto loaders
      • $ghjk/envs will contain directories for each environment including their loaders and shims
      • $ghjk/autoenvs will contain symlinks to the default $ghjk/envs entries for each ghjk.ts directory for the auto loaders
@Yohe-Am Yohe-Am added the enhancement New feature or request label Dec 20, 2023
@Yohe-Am Yohe-Am mentioned this issue Mar 31, 2024
10 tasks
@Yohe-Am Yohe-Am mentioned this issue May 3, 2024
3 tasks
@Yohe-Am Yohe-Am linked a pull request May 8, 2024 that will close this issue
10 tasks
@Yohe-Am Yohe-Am added the envs Relating to the envs module. label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request envs Relating to the envs module.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant