Variable: sh-alias-alist
sh-alias-alist is a customizable variable defined in sh-script.el.gz.
Value
((csh . tcsh) (ksh . pdksh) (ksh . ksh88) (bash2 . bash) (sh5 . sh)
("^/system/bin/sh$" . mksh))
Documentation
Alist for transforming shell names to what they really are.
Use this where the name of the executable doesn't correspond to the type of shell it really is. Keys are regular expressions matched against the full path of the interpreter. (For backward compatibility, keys may also be symbols, which are matched against the interpreter's basename. The values are symbols naming the shell.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defcustom sh-alias-alist
(append (if (eq system-type 'gnu/linux)
'((csh . tcsh)
(ksh . pdksh)))
;; for the time being
'((ksh . ksh88)
(bash2 . bash)
(sh5 . sh)
;; Android's system shell
("^/system/bin/sh$" . mksh)))
"Alist for transforming shell names to what they really are.
Use this where the name of the executable doesn't correspond to
the type of shell it really is. Keys are regular expressions
matched against the full path of the interpreter. (For backward
compatibility, keys may also be symbols, which are matched
against the interpreter's basename. The values are symbols
naming the shell."
:type '(repeat (cons (radio
(regexp :tag "Regular expression")
(symbol :tag "Basename"))
(symbol :tag "Shell")))
:group 'sh-script)