Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8e46e267
Commit
8e46e267
authored
Mar 25, 1996
by
Richard M. Stallman
Browse files
(sh-shell-arg): Don't add any options for bash, ksh.
parent
2c01dfb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lisp/progmodes/sh-script.el
lisp/progmodes/sh-script.el
+5
-2
No files found.
lisp/progmodes/sh-script.el
View file @
8e46e267
...
...
@@ -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"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment