diff --git a/home_external/.bashrc b/home_external/.bashrc index f897189..bf0e55c 100644 --- a/home_external/.bashrc +++ b/home_external/.bashrc @@ -204,11 +204,15 @@ ex () } # BEGIN_KITTY_SHELL_INTEGRATION -if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi +if [[ -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash" ]]; then + source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; +fi # END_KITTY_SHELL_INTEGRATION #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! export SDKMAN_DIR="$HOME/.sdkman" -[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" +if [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]]; then + source "$HOME/.sdkman/bin/sdkman-init.sh" +fi export PATH=$PATH:/sync/scripts