branch: elpa/exec-path-from-shell
commit e381af89a7bce72831d22cd18fd2a0be4465688f
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>
Note about inheriting of environment variables
See #25
---
README.md | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/README.md b/README.md
index 46a97dd67d..38b8cde5a5 100644
--- a/README.md
+++ b/README.md
@@ -61,6 +61,22 @@ You can copy values of other environment variables by
customizing
This function may also be called interactively.
+Note that your shell will inherit Emacssenvironment variables when
+it is run -- to avoid surprises your config files should therefore
+set the environment variables to their exact desired final values,
+i.e. don't do this:
+
+```
+export PATH=/usr/local/bin:$PATH
+```
+
+but instead do this:
+
+```
+export PATH=/usr/local/bin:/usr/bin:/bin
+```
+
+
Further help
------------