[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bash-completion b1ff763566 104/313: Clear PROMPT_COMMAND w
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bash-completion b1ff763566 104/313: Clear PROMPT_COMMAND when creating bash process |
Date: |
Sat, 3 Dec 2022 10:59:21 -0500 (EST) |
branch: elpa/bash-completion
commit b1ff76356648b402023217a150dde47245a72c7c
Author: Frank Pan <frankpzh@gmail.com>
Commit: Frank Pan <frankpzh@gmail.com>
Clear PROMPT_COMMAND when creating bash process
Function in PROMPT_COMMAND can change PS1, and will break
bash-completion.el.
---
bash-completion.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bash-completion.el b/bash-completion.el
index 0498598fb3..263fa39969 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -851,7 +851,7 @@ is set to t."
(process-send-string process (concat ". " startfile1 "\n")))
((file-exists-p startfile2)
(process-send-string process (concat ". " startfile2 "\n")))))
- (bash-completion-send "PS1='\v'" process
bash-completion-initial-timeout)
+ (bash-completion-send "PROMPT_COMMAND='';PS1='\v'" process
bash-completion-initial-timeout)
(bash-completion-send "function __bash_complete_wrapper { eval
$__BASH_COMPLETE_WRAPPER; }" process)
;; attempt to turn off unexpected status messages from bash
;; if the current version of bash does not support these options,
- [nongnu] elpa/bash-completion 5931a2ba43 037/313: completion-fix, (continued)
- [nongnu] elpa/bash-completion 5931a2ba43 037/313: completion-fix, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion a78fd6b587 044/313: turn off mailwarn and checkjobs, continue if this failed, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 0ffaad3ef0 035/313: wordbreak-split, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 80cd654c35 043/313: turn off mailwarn and checkjobs, continue if this failed, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 1c6b2efb67 040/313: enormous test, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion fc96b621e2 034/313: pass all tests in bash-completion, new test for -send, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion e77c841dac 107/313: Merge pull request #3 from seanmcl/master, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 062acfab3e 052/313: updated documentation, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 75e5de1494 066/313: fix initial completion, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion ffe8bc46a2 097/313: Ignore 'cd' stdout, in case someone (like me) is crazy enough to override the builtin command, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion b1ff763566 104/313: Clear PROMPT_COMMAND when creating bash process,
ELPA Syncer <=
- [nongnu] elpa/bash-completion 6b1be0da4c 048/313: from split to tokenize and parse, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 679d6f7765 075/313: bugfix at try afterbreak, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 8cc9c2fdc6 074/313: bugfix, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 96d764fb18 095/313: removed unnecessary quote escapes in documentation, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion db0545f469 093/313: Add a markdown README file, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 3eb77ec9c4 086/313: Moved shell configuration into config. Got rid of */init.el, going, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion abeee42e65 112/313: Set comint-completion-addsuffix again in pre-emacs-24.1 mode., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion 920bbc25bf 121/313: Run integration tests successfully on system where "hel" expand to more, ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion bac0fb55f1 124/313: More integration test cleanup made possible by the move to ert., ELPA Syncer, 2022/12/03
- [nongnu] elpa/bash-completion b49dbe1457 127/313: Don't require obsolete and unused cl., ELPA Syncer, 2022/12/03