[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell 9c25f03459 006/114: Simplify initiali
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell 9c25f03459 006/114: Simplify initialization |
Date: |
Tue, 5 Sep 2023 03:59:56 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit 9c25f03459b7654d7c9880c81f6806dda0660f28
Author: Sebastian Wiesner <lunaryorn@gmail.com>
Commit: Sebastian Wiesner <lunaryorn@gmail.com>
Simplify initialization
---
exec-path-from-shell.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index c507a750b0..d8082abd12 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -79,9 +79,8 @@ Return the value of the environment variable."
(defun exec-path-from-shell-initialize ()
"Set $PATH and `exec-path' from the user's shell."
(interactive)
- (let ((path-from-shell (exec-path-from-shell-getenv "PATH")))
- (setenv "PATH" path-from-shell)
- (setq exec-path (split-string path-from-shell path-separator))))
+ (setq exec-path (split-string (exec-path-from-shell-copy-env "PATH")
+ path-separator)))
(provide 'exec-path-from-shell)
- [nongnu] elpa/exec-path-from-shell 53ca76b97f 089/114: Link to flowbok article about shell startup files, (continued)
- [nongnu] elpa/exec-path-from-shell 53ca76b97f 089/114: Link to flowbok article about shell startup files, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 3cfedb8791 088/114: Merge pull request #90 from lassik/error-if-remote, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 2d152d1781 095/114: Clarify what the sample usage snippet does, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell ad68d36747 102/114: Instead of checking startup files, just warn if execution is slow, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 6336db9be1 111/114: Add Emacs 28.1 to CI matrix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 03fc0a38af 114/114: Release 2.1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell d17c4e0b73 094/114: Notes about increasing speed, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 81125c5adb 093/114: Add FUNDING.yml, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell e1f14450f1 098/114: Fix MELPA URL, add author footer, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 39aca32dda 001/114: Initial check-in, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9c25f03459 006/114: Simplify initialization,
ELPA Syncer <=
- [nongnu] elpa/exec-path-from-shell 0b81e0bf05 007/114: Copy $MANPATH on initialization, too, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell f349bc25aa 009/114: Merge pull request #2 from lunaryorn/init-manpath, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell f88aa7edec 010/114: Make the list of copied variables customizable. (See #2), ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell ed17558245 011/114: Fix local variables block formatting, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 3b280d3093 013/114: Set all variables using just one shell invocation, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 4b2f672301 020/114: Make use of printf safer, in case env var values contain escapes (see #5), ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 89aed99c12 021/114: Can now single-quote format argument to printf, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 2b6651242f 018/114: Unambigiously escape the null character (fixes #5), ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9f034cdb97 022/114: Explicitly double-quote args, so empty var values don't mess things up, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 95b7aee732 025/114: Use -d in place of --login for tcsh (fixes #7), ELPA Syncer, 2023/09/05