emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/bash-completion 7f4bcd03a8 110/313: Avoid cluttering .bash


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion 7f4bcd03a8 110/313: Avoid cluttering .bash_history with commands from
Date: Sat, 3 Dec 2022 10:59:21 -0500 (EST)

branch: elpa/bash-completion
commit 7f4bcd03a8066a9758edd55b08a4094ccb3c2548
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>

    Avoid cluttering .bash_history with commands from
    bash-completion.
---
 bash-completion.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bash-completion.el b/bash-completion.el
index 3894da3f5f..0f148e7213 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -889,6 +889,7 @@ is set to t."
            (bash-completion-send "export MAILCHECK=-1" process)
            (bash-completion-send "export -n MAIL" process)
            (bash-completion-send "export -n MAILPATH" process)
+           (bash-completion-send "unset HISTFILE" process)
            ;; some bash completion functions use quote_readline to double-quote
            ;; strings - which compgen understands but only in some environment.
            ;; disable this dreadful business to get a saner way of handling



reply via email to

[Prev in Thread] Current Thread [Next in Thread]