From fa62d693f671438d1589597a2cc7e1b5e2f8cd6f Mon Sep 17 00:00:00 2001 From: Akib Azmain Turja Date: Sat, 3 Dec 2022 19:28:39 +0600 Subject: [PATCH] * integration/bash: Append to array more cleanly --- integration/bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/bash b/integration/bash index a83ea7d..421faf3 100644 --- a/integration/bash +++ b/integration/bash @@ -7,7 +7,7 @@ function _eat_prompt_command () { if [ -z "$_eat_bash_integration_enabled" ] then _eat_bash_integration_enabled=yes - PROMPT_COMMAND[${#PROMPT_COMMAND[*]}]=_eat_prompt_command + PROMPT_COMMAND+=(_eat_prompt_command) fi # Local Variables: