rajivharris / set-psenv Goto Github PK
View Code? Open in Web Editor NEWPowerShell DotEnv Loader
License: MIT License
PowerShell DotEnv Loader
License: MIT License
Is there a recommended way of making this work alongside oh-my-posh? Adding the prompt
function to the end of my profile
breaks oh-my-posh
Hi,
It would be nice to have the ability to specify where to load .env
file from and its name.
This is to support multiple environments, such as for testing, production, staging
tests/.env.testing
.env <- This is on git
.env.override <- This is not on git
.env.staging <- This is on git
.env.staging.override <- This is not on git
What do you think ?
Full details here:
I ran into the issue when using this in a script.
On first run of the script, the .env
is read and $env
is populated. Upon re-run, it fails to load because it thinks we already have (same dir)
Lines 35 to 40 in 1be3a96
v0.0.3 does not ignore comments and empty lines
Can you please upload the updated codebase to PSGallery. I'm using the package and need the updated string split pull request: #1.
You can see that it is not there now: https://www.powershellgallery.com/packages/Set-PsEnv/0.0.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.