]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Trivial change: Update comments in activate about what running hash -r does (GH-125385)
authorAndrew Athan <24279435+aathan@users.noreply.github.com>
Sun, 13 Oct 2024 07:22:05 +0000 (00:22 -0700)
committerGitHub <noreply@github.com>
Sun, 13 Oct 2024 07:22:05 +0000 (08:22 +0100)
commit82bcaf15890cf85b76b4f62d2dd1710bb49c3ed1
tree84418706223eddc5e76fe80fe5b5de434b2a8ee2
parenta8fa4ad9e9f7aa0cba8b23af2c583d17bb1d1847
Trivial change: Update comments in activate about what running hash -r does (GH-125385)

Update comments about what running hash -r does

The old comment said "hash -r" forgets "past commands." However, the documentation for "hash" states that it forgets past locations. The old comment was, in my opinion, confusing. This is because it could be interpreted to mean it does something to the command history (HISTORY/HISTFILE etc) vs the cache of locations.
Lib/venv/scripts/common/activate