Use the official project name of Bash

This commit is contained in:
pagedown
2022-02-23 14:21:13 +08:00
parent 741ef7f115
commit 3d7b3f7d72
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ Detailed list of changes
0.24.3 [future] 0.24.3 [future]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- BASH integration: No longer modify :file:`~/.bashrc` to load :ref:`shell integration <shell_integration>`. - Bash integration: No longer modify :file:`~/.bashrc` to load :ref:`shell integration <shell_integration>`.
It is recommended to remove the lines used to load the shell integration from :file:`~/.bashrc` as they are no-ops. It is recommended to remove the lines used to load the shell integration from :file:`~/.bashrc` as they are no-ops.
- macOS: Allow kitty to handle various URL types. Can be configured via - macOS: Allow kitty to handle various URL types. Can be configured via

View File

@@ -41,7 +41,7 @@ _ksi_main() {
_ksi_safe_source "$KITTY_BASH_POSIX_ENV" && builtin export ENV="$KITTY_BASH_POSIX_ENV"; _ksi_safe_source "$KITTY_BASH_POSIX_ENV" && builtin export ENV="$KITTY_BASH_POSIX_ENV";
else else
builtin set +o posix; builtin set +o posix;
# See run_startup_files() in shell.c in the BASH source code # See run_startup_files() in shell.c in the Bash source code
if builtin shopt -q login_shell; then if builtin shopt -q login_shell; then
if [[ "$KITTY_BASH_INJECT" != *"no-profile"* ]]; then if [[ "$KITTY_BASH_INJECT" != *"no-profile"* ]]; then
_ksi_safe_source "$KITTY_BASH_ETC_LOCATION/profile"; _ksi_safe_source "$KITTY_BASH_ETC_LOCATION/profile";