Create a local .envrc to store private stuff
This commit is contained in:
parent
dfa6959843
commit
a128a78024
1 changed files with 5 additions and 0 deletions
5
.envrc
5
.envrc
|
|
@ -10,6 +10,11 @@ if [ -f ".python-version" ] ; then
|
||||||
echo "Activating $(python -V) virtualenv"
|
echo "Activating $(python -V) virtualenv"
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# announce python version and show the path of the current python in ${PATH}
|
# announce python version and show the path of the current python in ${PATH}
|
||||||
echo "Virtualenv has been activated for $(python -V)"
|
echo "Virtualenv has been activated for $(python -V)"
|
||||||
echo "$(which python)"
|
echo "$(which python)"
|
||||||
|
|
||||||
|
if [ -f .envrc.local ]; then
|
||||||
|
source_env .envrc.local
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue