summaryrefslogtreecommitdiffstats
path: root/Lib/venv
diff options
context:
space:
mode:
authorBrett Cannon <54418+brettcannon@users.noreply.github.com>2019-11-23 07:32:27 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-11-23 07:32:27 (GMT)
commit84b1ff65609c5910b4f838adbe1ead83baae7dbf (patch)
tree1f58a7f19043a7ffae870b52d7bdb321438332df /Lib/venv
parentd68b592dd67cb87c4fa862a8d3b3fd0a7d05e113 (diff)
downloadcpython-84b1ff65609c5910b4f838adbe1ead83baae7dbf.zip
cpython-84b1ff65609c5910b4f838adbe1ead83baae7dbf.tar.gz
cpython-84b1ff65609c5910b4f838adbe1ead83baae7dbf.tar.bz2
bpo-38899: virtual environment activation for fish should use `source` (GH-17359)
The previously documented use of `.` is considered deprecated (https://fishshell.com/docs/current/commands.html#source). https://bugs.python.org/issue38899 Automerge-Triggered-By: @brettcannon
Diffstat (limited to 'Lib/venv')
-rw-r--r--Lib/venv/scripts/posix/activate.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/venv/scripts/posix/activate.fish b/Lib/venv/scripts/posix/activate.fish
index 777d51c..d213b90 100644
--- a/Lib/venv/scripts/posix/activate.fish
+++ b/Lib/venv/scripts/posix/activate.fish
@@ -1,5 +1,5 @@
-# This file must be used with ". bin/activate.fish" *from fish* (http://fishshell.org);
-# you cannot run it directly.
+# This file must be used with "source <venv>/bin/activate.fish" *from fish*
+# (http://fishshell.org); you cannot run it directly.
function deactivate -d "Exit virtualenv and return to normal shell environment"
# reset old environment variables