From 8a464cfed10ffe1f67e71c32929c82fb2b2a0f1a Mon Sep 17 00:00:00 2001 From: Younes Askour Date: Sat, 1 Jun 2024 20:13:57 +0100 Subject: [PATCH] Correct the Explanation of PATH Variable Lookup (#2975) This PR corrects a small but important detail in the documentation regarding how the system searches for executable files. The original text incorrectly stated that the operating system performs this search. The corrected text clarifies that it is actually the shell that performs the search. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 89adb548..279cf8a5 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ to the correct Python installation. ### Understanding PATH -When you run a command like `python` or `pip`, your operating system +When you run a command like `python` or `pip`, your shell (bash / zshrc / ...) searches through a list of directories to find an executable file with that name. This list of directories lives in an environment variable called `PATH`, with each directory in the list separated by a colon: