Mercurial > emacs
changeset 14876:b39dde411ac8
(sh-shell-arg): Don't add any options for bash, ksh.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 25 Mar 1996 01:42:05 +0000 |
parents | 27f8bccdb985 |
children | 62fc4d7a846f |
files | lisp/progmodes/sh-script.el |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el Mon Mar 25 00:37:45 1996 +0000 +++ b/lisp/progmodes/sh-script.el Mon Mar 25 01:42:05 1996 +0000 @@ -105,11 +105,14 @@ "*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"))