fixed logical operator

This commit is contained in:
fabian 2023-03-05 17:22:21 +01:00
parent 8dd5e34e4d
commit b8611eb590

View File

@ -204,7 +204,7 @@ ex ()
}
# BEGIN_KITTY_SHELL_INTEGRATION
if [[ -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash" ]]; then
if [[ -n "$KITTY_INSTALLATION_DIR" && -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash" ]]; then
source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash";
fi
# END_KITTY_SHELL_INTEGRATION