* integration/bash: Append to array more cleanly
This commit is contained in:
parent
729717b84f
commit
fa62d693f6
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue