branch: elpa/exec-path-from-shell
commit 731d805ed31391b2335aaec89b3f88e27b762e6b
Author: Kaleb Elwert <[email protected]>
Commit: Kaleb Elwert <[email protected]>
Also run exec-path-from-shell-initialize on Linux in example
---
README.md | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index ac64c88814..c0a006f337 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