Function: exec-path-from-shell--shell

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

Signature

(exec-path-from-shell--shell)

Documentation

Return the shell to use.

See documentation for exec-path-from-shell-shell-name.

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--shell ()
  "Return the shell to use.
See documentation for `exec-path-from-shell-shell-name'."
  (or
   exec-path-from-shell-shell-name
   shell-file-name
   (getenv "SHELL")
   (error "SHELL environment variable is unset")))