branch: elpa/exec-path-from-shell
commit 15d07666fb356008e612278f181292e2d2afc5fc
Merge: c6eedaf916 fedb500652
Author: Steve Purcell <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #65 from belak/also-run-on-linux
Also run on Linux in example
---
README.md | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index ac64c88814..a453b6e098 100644
--- a/README.md
+++ b/README.md
@@ -48,11 +48,12 @@ Usage
Add the following to your `init.el` (after calling `package-initialize`):
```el
-(when (memq window-system '(mac ns))
+(when (memq window-system '(mac ns x))
(exec-path-from-shell-initialize))
```
-This sets `$MANPATH`, `$PATH` and `exec-path` from your shell, but only on OS
X.
+This sets `$MANPATH`, `$PATH` and `exec-path` from your shell, but only on OS X
+and Linux.
You can copy values of other environment variables by customizing
`exec-path-from-shell-variables` before invoking
@@ -65,7 +66,7 @@ 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
+Note that your shell will inherit Emacs's environment 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: