[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell 345ba9cb71 036/114: Don't fail when p
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell 345ba9cb71 036/114: Don't fail when printing undefined vars if shell -e option is set |
Date: |
Tue, 5 Sep 2023 03:59:58 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit 345ba9cb71a232c7cad4ab416641a4d5b12d30ca
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Don't fail when printing undefined vars if shell -e option is set
---
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 36534dee0b..b8a368ea4a 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -137,7 +137,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) (concat "$" n)) names))
+ (let* ((dollar-names (mapcar (lambda (n) (format "${%s-}" n)) names))
(values (if (exec-path-from-shell--tcsh-p (getenv "SHELL"))
;; Dumb shell
(mapcar (lambda (v)
- [nongnu] elpa/exec-path-from-shell bfaa02106e 031/114: [Fix #13] Make shell arguments customizable, (continued)
- [nongnu] elpa/exec-path-from-shell bfaa02106e 031/114: [Fix #13] Make shell arguments customizable, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell a5162e6f99 032/114: Merge pull request #14 from lunaryorn/customizable-args, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 0e0af3907a 040/114: For non-POSIX shells (mainly fish and tcsh), print vars in a standard "sh" subshell, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell dccbb54b18 041/114: Add note about fish and tcsh to README, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 7f77aa6dfb 052/114: Revert "Remove unnecessary dash to appease old csh", ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell e88cce5a93 067/114: Fix checkdoc warnings, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 51d0931c2a 003/114: Improve suggested condition for initialization on OS X, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 900d98a912 005/114: Improve docstrings, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 1115e59539 033/114: Provide better info when the shell doesn't printf vars as expected, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell ad5eda1649 034/114: Require non-zero exit code, and allow debug output, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 345ba9cb71 036/114: Don't fail when printing undefined vars if shell -e option is set,
ELPA Syncer <=
- [nongnu] elpa/exec-path-from-shell b09a42885c 037/114: tcsh doesn't support the ${VAR-default} syntax, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell e4af0e9b44 043/114: Add MELPA badges, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell ba09c3419f 046/114: Note necessity of calling `package-initialize` (closes #19), ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell bb20b46f6a 051/114: Treat csh like tcsh (closes #29), ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 673f1fc060 058/114: Better warning message, and allow the check to be suppressed, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 5e80a4159b 059/114: Use a more sane package version placeholder, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell c2ca275d32 061/114: Clarify incompatibility with cmdproxy.exe et al, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9700a076a9 065/114: Merge pull request #45 from jlandahl/master, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 15d07666fb 074/114: Merge pull request #65 from belak/also-run-on-linux, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell fedb500652 073/114: Fix "Emacssenvironment" typo, ELPA Syncer, 2023/09/05