ssh kitten: Run bash as a login shell

This fell through the cracks in the rewrite for automatic shell
integration. Fixes #5130
This commit is contained in:
Kovid Goyal 2022-05-26 21:24:32 +05:30
parent 02d5b3eafa
commit e6844ad6f2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 1 deletions

View File

@ -39,6 +39,9 @@ Detailed list of changes
- Fix a bug that caused :opt:`macos_colorspace` to always be ``default`` regardless of its actual value (:iss:`5129`) - Fix a bug that caused :opt:`macos_colorspace` to always be ``default`` regardless of its actual value (:iss:`5129`)
- ssh kitten: Fix bash not being executed as a login shell since kitty 0.25.0 (:iss:`5130`)
0.25.1 [2022-05-26] 0.25.1 [2022-05-26]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -125,7 +125,7 @@ exec_bash_with_integration() {
export HISTFILE="$HOME/.bash_history" export HISTFILE="$HOME/.bash_history"
export KITTY_BASH_UNEXPORT_HISTFILE="1" export KITTY_BASH_UNEXPORT_HISTFILE="1"
fi fi
exec "$login_shell" "--posix" exec "$login_shell" "--login" "--posix"
} }
exec_with_shell_integration() { exec_with_shell_integration() {