Comments (5)
If this is accepted into the master, the Cookbook should be updated: the "Magic .env" section will become irrelevant, and best be replaced with a recommendation to put something like alias .env=autoenv_new
in your .bash_aliases
, etc.
from autoenv.
One possible problem with commit d676a0b is that it assumes that use_env
has been defined. There are two ways that this could be made less confusing/assumptive to a user who hasn't looked at the wiki. (a) add a comment in the auto-generated .env
file with the URL for the relevant Wiki; or (b) add the definition of use_env
to the auto-generated .env
file itself.
Solution B seems icky, so Solution A is implemented in commit 375d1c4.
from autoenv.
I don't really see the point of this when you can just run 'touch .env' ?
from autoenv.
Well, it's not just making an empty file. It creates a file with these contents:
# Assumes use_env. See https://github.com/kennethreitz/autoenv/wiki/Cookbook"
use_env $new_env_name
Where $new_env_name
is the name of the present working directory. It's very simple, I thought that was the goal in using autoenv; simple ways to streamline switching projects and virtualenvs.
from autoenv.
I don't really see a point in this. Maybe it's just obsolete now.
from autoenv.
Related Issues (20)
- Is the pypi version not catching up?
- Created by mistake - ignore me
- brew version is outdated. HOT 1
- Odd behavior with nvm installed HOT 3
- Broken image ref in the README
- sourcing of activate.sh on OSx Big Sur causes hanging in Terminal HOT 3
- Git installation instructions are outdated HOT 1
- Ability to not override `cd` on source
- Properly use shelltest
- Uninstall autoenv - Mac OS Ventura 13.0 HOT 2
- Error bash: 1: No such file or directory HOT 3
- Add autoenv AUR package
- Error with nvm on Mac HOT 2
- Autoenv keep asking for permission HOT 5
- autoenv_check_authz_and_run:7: read-only variable: status HOT 1
- autoenv running on all directories in parent HOT 1
- Document usable varaibles in `.env` file
- Transfer repo back to @kennethreitz HOT 2
- Source parent directory's `.env.leave` file when leaving subdirectory
- Error when entering or leaving a project with .env or .env.leave file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoenv.