Function: exec-path-from-shell--standard-shell-p

exec-path-from-shell--standard-shell-p is a natively compiled function defined in exec-path-from-shell.el.

Signature

(exec-path-from-shell--standard-shell-p SHELL)

Documentation

Return non-nil iff SHELL supports the standard ${VAR-default} syntax.

Source Code

;; Defined in /nix/store/a3f7aq5s6rdw5arrqvyppbs5jfrlsxa3-emacs-packages-deps/share/emacs/site-lisp/elpa/exec-path-from-shell-20260423.1833/exec-path-from-shell.el
(defun exec-path-from-shell--standard-shell-p (shell)
  "Return non-nil iff SHELL supports the standard ${VAR-default} syntax."
  (not (string-match-p "\\(fish\\|nu\\|t?csh\\)$" shell)))