Skip to content

Commit

Permalink
updated .envrc
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Jun 4, 2024
1 parent 95e3fae commit a0d2bc4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ set -euo pipefail

export COMPOSE_PROJECT_NAME="pytools"

venv="$PWD/venv"

if [ -f "$venv/bin/activate" ]; then
echo
echo "Local virtualenv directory found in: $venv"
echo
echo "Activating Virtualenv inside the directory: $venv"

# shellcheck disable=SC1091
source "$venv/bin/activate"
echo
fi
for venv in "$PWD/venv" "$HOME/venv"; do
if [ -f "$venv/bin/activate" ]; then
echo
echo "Virtualenv directory found in: $venv"
echo
echo "Activating Virtualenv inside the directory: $venv"

# shellcheck disable=SC1091
source "$venv/bin/activate"
echo
fi
done

# read .env too
#dotenv

0 comments on commit a0d2bc4

Please sign in to comment.