Skip to content

Commit dff9ce3

Browse files
committed
Detect "nu" as a non-standard shell, see #109
1 parent 6336db9 commit dff9ce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exec-path-from-shell.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ The default value denotes an interactive login shell."
137137

138138
(defun exec-path-from-shell--standard-shell-p (shell)
139139
"Return non-nil iff SHELL supports the standard ${VAR-default} syntax."
140-
(not (string-match "\\(fish\\|t?csh\\)$" shell)))
140+
(not (string-match "\\(fish\\|nu\\|t?csh\\)$" shell)))
141141

142142
(defmacro exec-path-from-shell--warn-duration (&rest body)
143143
"Evaluate BODY and warn if execution duration exceeds a time limit.

0 commit comments

Comments
 (0)