From 30e5721af121b73eb1f2d8946fdbe6913ebf0970 Mon Sep 17 00:00:00 2001 From: Younes Askour Date: Sat, 1 Jun 2024 17:51:18 +0100 Subject: [PATCH] Correct the Explanation of PATH Variable Lookup 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: