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

Pass variables to subshells explicitly to avoid polluting global environment variables #567

Closed
wants to merge 4 commits into from

Conversation

ly4096x
Copy link

@ly4096x ly4096x commented Mar 13, 2025

Description

This avoids exporting these tide internal variables to global environment. Otherwise, the env command won't print correctly due to the escape sequences in these variables messing up the display.

Screenshots (if appropriate)

No visible change, except that the _tide variables are no longer in env output.

How Has This Been Tested

  • I have tested using Linux.
  • I have tested using MacOS.

Checklist

  • I am ready to update the wiki accordingly. (seems unnecessary?)
  • I have updated the tests accordingly. (will see if any tests fail)

ly4096x added 3 commits March 14, 2025 02:18
This avoids exporting these tide internal variables to global
environment. Otherwise, the `env` command won't print correctly due to the escape sequences in these variables messing up the display.
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