emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/exec-path-from-shell dff9ce3577 112/114: Detect "nu" as a


From: ELPA Syncer
Subject: [nongnu] elpa/exec-path-from-shell dff9ce3577 112/114: Detect "nu" as a non-standard shell, see #109
Date: Tue, 5 Sep 2023 04:00:09 -0400 (EDT)

branch: elpa/exec-path-from-shell
commit dff9ce3577bf3f2938d9bde8ec8aa4fef3b061f3
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>

    Detect "nu" as a non-standard shell, see #109
---
 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 1a2281113a..1fb9b9fc57 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -137,7 +137,7 @@ The default value denotes an interactive login shell."
 
 (defun exec-path-from-shell--standard-shell-p (shell)
   "Return non-nil iff SHELL supports the standard ${VAR-default} syntax."
-  (not (string-match "\\(fish\\|t?csh\\)$" shell)))
+  (not (string-match "\\(fish\\|nu\\|t?csh\\)$" shell)))
 
 (defmacro exec-path-from-shell--warn-duration (&rest body)
   "Evaluate BODY and warn if execution duration exceeds a time limit.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]