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:
parent
2c01dfb771
commit
8e46e26749
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user