branch: externals/org
commit 67906ac56b9475a3ef5addaab1e4a3033f3c963b
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>
* lisp/ob-shell.el (org-babel-shell-set-prompt-commands): Fix invalid
command
---
lisp/ob-shell.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ob-shell.el b/lisp/ob-shell.el
index e1f6b1c00b..bb0b10e4b9 100644
--- a/lisp/ob-shell.el
+++ b/lisp/ob-shell.el
@@ -59,7 +59,7 @@
("csh" . "set prompt=\"%s\"\nset prompt2=\"\"")
;; Disable bracketed paste - it messes up out processing and,
;; apparently, comint.el. Also, unset "% \r" prompts.
- ("zsh" . "setopt nopromptcr;nounset promptsp;unset
zle_bracketed_paste;PROMPT_COMMAND=;PS1=\"%s\";PS2=")
+ ("zsh" . "setopt nopromptcr;unset
zle_bracketed_paste;PROMPT_COMMAND=;PS1=\"%s\";PS2=")
;; PROMPT_COMMAND can override PS1 settings. Disable it.
;; Disable PS2 to avoid garbage in multi-line inputs.
(t . "PROMPT_COMMAND=;PS1=\"%s\";PS2="))