1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(sh-shell-arg): Don't add any options for bash, ksh.

This commit is contained in:
Richard M. Stallman 1996-03-25 01:42:05 +00:00
parent 2c01dfb771
commit 8e46e26749

View File

@ -105,11 +105,14 @@ shell it really is.")
"*The executable file name for the shell being programmed.")
;; bash and ksh do not need any options when run in a shell script,
;; and Bill_Mann@praxisint.com says -p with ksh can do harm.
(defvar sh-shell-arg
'((bash . "-norc")
'((bash)
(csh . "-f")
(ksh88 eval progn nil (if (file-exists-p "/etc/suid_profile") nil "-p"))
(pdksh)
(ksh88)
;; Bill_Mann@praxisint.com says -p may be wrong for this too.
(rc . "-p")
(wksh . "-motif")
(zsh . "-f"))