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

fix: avoid polluting global namespace #347

Merged
merged 1 commit into from
Feb 6, 2024
Merged

fix: avoid polluting global namespace #347

merged 1 commit into from
Feb 6, 2024

Conversation

wfxr
Copy link
Owner

@wfxr wfxr commented Feb 6, 2024

Check list

  • I have performed a self-review of my code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation

Description

Minor fix to avoid variables used locally in forgit.plugin.zsh to be exported in to the global namespace.

Type of change

  • Bug fix
  • New feature
  • Refactor
  • Breaking change
  • Documentation change

Test environment

  • Shell
    • bash
    • zsh
    • fish
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Others:

@wfxr wfxr force-pushed the rename-env branch 2 times, most recently from eae736e to 5d9ada2 Compare February 6, 2024 04:25
Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com>
@wfxr wfxr changed the title fix: avoid polluting the global namespace fix: avoid polluting global namespace Feb 6, 2024
@cjappl cjappl requested a review from sandr01d February 6, 2024 05:19
@cjappl
Copy link
Collaborator

cjappl commented Feb 6, 2024

LGTM if someone else wants to review too 👍

@carlfriedrich
Copy link
Collaborator

Works for me!

@wfxr wfxr merged commit 714f6df into master Feb 6, 2024
7 checks passed
@wfxr wfxr deleted the rename-env branch February 6, 2024 06:21
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.

3 participants