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
2 changed files with 4 additions and 1 deletions

View File

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