Extract env. vars from *login* shell

Bash needs the `-l` flag, as pointed out in 6220ace290 (r29480946) and https://github.com/syl20bnr/spacemacs/issues/10906#issuecomment-402184237.
This commit is contained in:
Paolo G. Giarrusso 2018-07-03 16:49:56 +02:00 committed by syl20bnr
parent 253a8ed413
commit f4506aa445
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ current contents of the file will be overwritten."
(let ((shell-command-switch (cond
((or(eq system-type 'darwin)
(eq system-type 'gnu/linux))
"-ic")
"-ilc")
((eq system-type 'windows-nt) "-c")))
(executable (cond ((or(eq system-type 'darwin)
(eq system-type 'gnu/linux)) "env")