[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org b79d9dd604: lisp/ob-shell.el: Remove unnecessary pr
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org b79d9dd604: lisp/ob-shell.el: Remove unnecessary prompt template |
Date: |
Mon, 15 Jan 2024 16:01:09 -0500 (EST) |
branch: externals/org
commit b79d9dd604bb3134f3ccd7f8d1f7f2d21247d520
Author: Matthew Trzcinski <matt@excalamus.com>
Commit: Matthew Trzcinski <matt@excalamus.com>
lisp/ob-shell.el: Remove unnecessary prompt template
(org-babel-shell-set-prompt-commands): "posh" is POSIX complaint and
uses PS1 and PS2 to define the shell prompt. A separate template is
not needed.
Link:
https://list.orgmode.org/18cfa388d12.f0069ffe919377.6846036599039377431@excalamus.com/
---
lisp/ob-shell.el | 2 --
1 file changed, 2 deletions(-)
diff --git a/lisp/ob-shell.el b/lisp/ob-shell.el
index 77e73d0984..31135b5fbf 100644
--- a/lisp/ob-shell.el
+++ b/lisp/ob-shell.el
@@ -52,8 +52,6 @@
("fish" . "function fish_prompt\n\techo \"%s\"\nend")
;; prompt2 is like PS2 in POSIX shells.
("csh" . "set prompt=\"%s\"\nset prompt2=\"\"")
- ;; PowerShell, similar to fish, does not have PS2 equivalent.
- ("posh" . "function prompt { \"%s\" }")
;; PROMPT_COMMAND can override PS1 settings. Disable it.
;; Disable PS2 to avoid garbage in multi-line inputs.
(t . "PROMPT_COMMAND=;PS1=\"%s\";PS2="))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org b79d9dd604: lisp/ob-shell.el: Remove unnecessary prompt template,
ELPA Syncer <=