Skip to content

Commit 63981b0

Browse files
authored
[plugins] change pip venv shell hook recommendation to be posix-compatible (#1939)
## Summary This was requested on discord. The `source` is non-posix. Using the period (`.`) is posix. ## How was it tested? did not test
1 parent fbe3273 commit 63981b0

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
@@ -5,4 +5,4 @@ if ! [ -d "$VENV_DIR" ]; then
55
python3 -m venv "$VENV_DIR"
66
fi
77

8-
echo "You can activate the virtual environment by running 'source \$VENV_DIR/bin/activate'" >&2
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)