branch: elpa/exec-path-from-shell
commit 7f77aa6dfbb6364584600bb2c8c14f92b52d5068
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>

    Revert "Remove unnecessary dash to appease old csh"
    
    This reverts commit 4c328130ec768ed362a729c5ddf09f1e75bd16c4.
---
 exec-path-from-shell.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index b8754fbe1f..ab59789f1c 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -148,7 +148,7 @@ shell-escaped, so they may contain $ etc."
 
 Execute $SHELL according to `exec-path-from-shell-arguments'.
 The result is a list of (NAME . VALUE) pairs."
-  (let* ((dollar-names (mapcar (lambda (n) (format "${%s}" n)) names))
+  (let* ((dollar-names (mapcar (lambda (n) (format "${%s-}" n)) names))
          (values (split-string (exec-path-from-shell-printf
                                 (mapconcat #'identity (make-list (length 
names) "%s") "\\000")
                                 dollar-names) "\0")))

Reply via email to