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: