mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
[3.12] Trivial change: Update comments in activate about what running hash -r does (GH-125385) (#125388)
(cherry picked from commit 82bcaf1589
)
This commit is contained in:
parent
1d45fae26d
commit
77020dae34
1 changed files with 3 additions and 2 deletions
|
@ -14,8 +14,9 @@ deactivate () {
|
||||||
unset _OLD_VIRTUAL_PYTHONHOME
|
unset _OLD_VIRTUAL_PYTHONHOME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Call hash to forget past commands. Without forgetting
|
# Call hash to forget past locations. Without forgetting
|
||||||
# past commands the $PATH changes we made may not be respected
|
# past locations the $PATH changes we made may not be respected.
|
||||||
|
# See "man bash" for more details. hash is usually a builtin of your shell
|
||||||
hash -r 2> /dev/null
|
hash -r 2> /dev/null
|
||||||
|
|
||||||
if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then
|
if [ -n "${_OLD_VIRTUAL_PS1:-}" ] ; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue