Skip to content

Commit 7f349b7

Browse files
authored
Only notify users about Venv Activation on setup (#2109)
## Summary Only prompt the user about activating their Python Virtual Env on setup, and not on every shell activation ## How was it tested? Build + test on python
1 parent 4bd4b42 commit 7f349b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/pip/venvShellHook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
if ! [ -d "$VENV_DIR" ]; then
44
echo "Creating new venv environment in path: '${VENV_DIR}'"
55
python3 -m venv "$VENV_DIR"
6+
echo "You can activate the virtual environment by running '. \$VENV_DIR/bin/activate' (for fish shell, replace '.' with 'source')" >&2
67
fi
78

8-
echo "You can activate the virtual environment by running '. \$VENV_DIR/bin/activate' (for fish shell, replace '.' with 'source')" >&2

0 commit comments

Comments
 (0)