the array iteration wasn't implemented correctly for KITTY_SHELL_INTEGRATION variable. the i variable in for loop wasn't iterating through all the elements of that array
This matches the other shells and might be useful someday
if bash ever gets a way for the invoking process to inject code
into it.
Also use KITTY_INSTALLATION_DIR when loading the bash integration code.