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:
parent
253a8ed413
commit
f4506aa445
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue