Skip to content

Python3 os.getenv Failed to Gather Environment Variable During Runtime #720

Description

@GangGreenTemperTatum

Howdy!

Ventura 13.4 using zsh.

I was using the dotfiles and followed all the steps including creating some custom dotfiles-local/ of my own. Whatever file I export an environment variable to any file such as

  • ~/.bash_profile
  • ~/.zshrc@
  • ~/.zprofile@
  • ~/.env

Upon adding the environment variable's, I also started a fresh terminal and used rcup from ~/. Via os.getenv with Python3 does not seem to be able to verify it's existence. Though I don't think its soley related to os.getenv as when I export, I never see the variable listed either.

Which dir/file should I be using to store local environment variable's with this setup?

Thank you so much for your awesome contributions 🙏🏼

TYIA!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions