* integration/bash: Don't setup again on reload
This commit is contained in:
parent
55c7d21cef
commit
729717b84f
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,11 @@ function _eat_prompt_command () {
|
|||
}
|
||||
|
||||
# Add '_eat_prompt_command' as the last element of 'PROMPT_COMMAND'.
|
||||
PROMPT_COMMAND[${#PROMPT_COMMAND[*]}]=_eat_prompt_command
|
||||
if [ -z "$_eat_bash_integration_enabled" ]
|
||||
then
|
||||
_eat_bash_integration_enabled=yes
|
||||
PROMPT_COMMAND[${#PROMPT_COMMAND[*]}]=_eat_prompt_command
|
||||
fi
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
|
|
Loading…
Add table
Reference in a new issue