From f4b5fd527e05d8250fcf42da4986be0ceaa044d9 Mon Sep 17 00:00:00 2001 From: Akib Azmain Turja Date: Sun, 4 Dec 2022 18:27:40 +0600 Subject: [PATCH] ; 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 1ef1669..dcc639a 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))]}