[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eat f4b5fd527e 1/4: ; integration/bash: Make the joke a bi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eat f4b5fd527e 1/4: ; integration/bash: Make the joke a bit more funny |
Date: |
Sun, 4 Dec 2022 12:58:32 -0500 (EST) |
branch: elpa/eat
commit f4b5fd527e05d8250fcf42da4986be0ceaa044d9
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
; integration/bash: Make the joke a bit more funny
---
integration/bash | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/integration/bash b/integration/bash
index 1ef1669d65..dcc639a552 100644
--- a/integration/bash
+++ b/integration/bash
@@ -61,11 +61,11 @@ __eat_enable_integration ()
PROMPT_COMMAND+=(__eat_after_prompt_command)
# Step 2: Prepend to PROMPT_COMMAND.
# Step 2.1: Move all elements to make the first index free.
- # Fun fact: Microsoft doesn't still know this simple trick. They
- # use something as silly and pityful as 'VAR=$PROMPT_COMMAND' to
- # copy a Bash array in VSCode Bash integration script, that simply
- # won't work ever, and then complain about Bash in the comments!
- # LOL. xD
+ # Fun fact: Microsoft doesn't still about know this simple trick.
+ # They ended up using something as silly and pityful as
+ # 'VAR=$PROMPT_COMMAND' to copy a Bash array in VSCode Bash
+ # integration script, which simply won't work ever, and then
+ # complain about Bash in the comments! xD
for i in $(eval "echo {${#PROMPT_COMMAND[*]}..1..-1}")
do
PROMPT_COMMAND[$i]=${PROMPT_COMMAND[$((i-1))]}