[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eat 729717b84f 3/7: * integration/bash: Don't setup again
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eat 729717b84f 3/7: * integration/bash: Don't setup again on reload |
Date: |
Sat, 3 Dec 2022 14:58:36 -0500 (EST) |
branch: elpa/eat
commit 729717b84f4381df646ded8f7a4a0b69f18c77b3
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
* integration/bash: Don't setup again on reload
---
integration/bash | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/integration/bash b/integration/bash
index aacf981d3f..a83ea7dfb4 100644
--- a/integration/bash
+++ b/integration/bash
@@ -4,7 +4,11 @@ function _eat_prompt_command () {
}
# Add '_eat_prompt_command' as the last element of 'PROMPT_COMMAND'.
-PROMPT_COMMAND[${#PROMPT_COMMAND[*]}]=_eat_prompt_command
+if [ -z "$_eat_bash_integration_enabled" ]
+then
+ _eat_bash_integration_enabled=yes
+ PROMPT_COMMAND[${#PROMPT_COMMAND[*]}]=_eat_prompt_command
+fi
# Local Variables:
# mode: sh
- [nongnu] elpa/eat updated (5f4f4a87d1 -> 85c0c16380), ELPA Syncer, 2022/12/03
- [nongnu] elpa/eat 55c7d21cef 2/7: Use more uniform names for tracer functions, ELPA Syncer, 2022/12/03
- [nongnu] elpa/eat a9bf5e5248 5/7: * integration/bash: Use '__' prefix, ELPA Syncer, 2022/12/03
- [nongnu] elpa/eat 7abb81e16a 6/7: * integration/bash: Add copyright notice., ELPA Syncer, 2022/12/03
- [nongnu] elpa/eat d918dbae87 1/7: Add shell integration script for GNU Bash, ELPA Syncer, 2022/12/03
- [nongnu] elpa/eat 85c0c16380 7/7: Refer to NonGNU ELPA in README, ELPA Syncer, 2022/12/03
- [nongnu] elpa/eat 729717b84f 3/7: * integration/bash: Don't setup again on reload,
ELPA Syncer <=
- [nongnu] elpa/eat fa62d693f6 4/7: * integration/bash: Append to array more cleanly, ELPA Syncer, 2022/12/03